X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6fb26ea3b3784922bd0613a5e96fda78fac684ac..5f445b310b239ea4d26996d4384899c66aa833c5:/docs/latex/wx/tlog.tex diff --git a/docs/latex/wx/tlog.tex b/docs/latex/wx/tlog.tex index 4be83c3f08..de86933c68 100644 --- a/docs/latex/wx/tlog.tex +++ b/docs/latex/wx/tlog.tex @@ -1,10 +1,7 @@ -\section{Log classes overview}\label{wxlogoverview} +\section{wxLog classes overview}\label{wxlogoverview} -Classes: \helpref{wxLog}{wxlog} -%\helpref{wxLogStderr}{wxlogstderr},% -%\helpref{wxLogOstream}{wxlogostream}, \helpref{wxLogTextCtrl}{wxlogtextctrl},% -%\helpref{wxLogWindow}{wxlogwindow}, \helpref{wxLogGui}{wxloggui},% -%\helpref{wxLogNull}{wxlognull}% +Classes: \helpref{wxLog}{wxlog}, wxLogStderr, +wxLogOstream, wxLogTextCtrl, wxLogWindow, wxLogGui, wxLogNull This is a general overview of logging classes provided by wxWindows. The word logging here has a broad sense, including all of the program output, not only @@ -47,6 +44,9 @@ first argument. \item{\bf wxLogDebug} is {\bf the} right function for debug output. It only does anything at all in the debug mode (when the preprocessor symbol \_\_WXDEBUG\_\_ is defined) and expands to nothing in release mode (otherwise). +{\bf Tip:} under Windows, you must either run the program under debugger or +use a 3rd party program such as \urlref{DbgView}{http://www.sysinternals.com} +to actually see the debug output. \item{\bf wxLogTrace} as {\bf wxLogDebug} only does something in debug build. The reason for making it a separate function from it is that usually there are a lot of trace messages, so it might make sense to separate them @@ -125,8 +125,8 @@ clear the log, close it completely or save all messages to file. \item{\bf wxLogNull} The last log class is quite particular: it doesn't do anything. The objects of this class may be instantiated to (temporarily) suppress output of {\it wxLogXXX()} functions. As an example, trying to open a -non-existing file will usually provoke an error message, but if you for some -reason it's unwanted, just use this construction: +non-existing file will usually provoke an error message, but if for some +reasons it's unwanted, just use this construction: {\small \begin{verbatim}