From: David Elliott Date: Wed, 12 Jan 2005 15:49:44 +0000 (+0000) Subject: Document that wxLogNull must be used with SetActiveTarget to supress logging. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/77d47192a89f7142f93c103760c8cbb824ec961d 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 --- diff --git a/docs/latex/wx/log.tex b/docs/latex/wx/log.tex index df109182d8..448c359565 100644 --- a/docs/latex/wx/log.tex +++ b/docs/latex/wx/log.tex @@ -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}