]> git.saurik.com Git - wxWidgets.git/commitdiff
Document that wxLogNull must be used with SetActiveTarget to supress logging.
authorDavid Elliott <dfe@tgwbd.org>
Wed, 12 Jan 2005 15:49:44 +0000 (15:49 +0000)
committerDavid Elliott <dfe@tgwbd.org>
Wed, 12 Jan 2005 15:49:44 +0000 (15:49 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31326 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

docs/latex/wx/log.tex

index df109182d8a20fe5af2a716d3b556784405854fc..448c359565ca2f27b0bc193849aae0cdb5a8e156 100644 (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}