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:
David Elliott
2005-01-12 15:49:44 +00:00
parent 0c28d8248e
commit 77d47192a8

View File

@@ -215,7 +215,9 @@ Returns the pointer to the active log target (may be NULL).
\func{static wxLog *}{SetActiveTarget}{\param{wxLog * }{ logtarget}}
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}