Document that wxLogNull must be used with SetActiveTarget to supress logging.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31326 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -215,7 +215,9 @@ Returns the pointer to the active log target (may be NULL).
|
|||||||
\func{static wxLog *}{SetActiveTarget}{\param{wxLog * }{ logtarget}}
|
\func{static wxLog *}{SetActiveTarget}{\param{wxLog * }{ logtarget}}
|
||||||
|
|
||||||
Sets the specified log target as the active one. Returns the pointer to the
|
Sets the specified log target as the active one. Returns the pointer to the
|
||||||
previous active log target (may be NULL).
|
previous active log target (may be NULL). To supress logging use a new
|
||||||
|
instance of wxLogNull not NULL. If the active log target is set to NULL a
|
||||||
|
new default log target will be created when logging occurs.
|
||||||
|
|
||||||
\membersection{wxLog::Suspend}\label{wxlogsuspend}
|
\membersection{wxLog::Suspend}\label{wxlogsuspend}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user