]> git.saurik.com Git - wxWidgets.git/blobdiff - docs/latex/wx/log.tex
fix the include files
[wxWidgets.git] / docs / latex / wx / log.tex
index 7fb5832297e5e99afcbcf7c88b6f7628edd21582..f33ec0f41ebebc196f494233916d1f13f6313ae4 100644 (file)
@@ -34,6 +34,10 @@ No base class
 
 <wx/log.h>
 
+\wxheading{Library}
+
+\helpref{wxCore}{librarieslist}
+
 \latexignore{\rtfignore{\wxheading{Function groups}}}
 
 \membersection{Global functions}
@@ -395,6 +399,54 @@ Remove the {\it mask} from the list of allowed masks for
 
 See also: \helpref{AddTraceMask}{wxlogaddtracemask}
 
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% wxLogBuffer %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+\section{\class{wxLogBuffer}}\label{wxlogbuffer}
+
+wxLogBuffer is a very simple implementation of log sink which simply collects
+all the logged messages in a string (except the debug messages which are output
+in the usual way immediately as we're presumably not interested in collecting
+them for later). The messages from different log function calls are separated
+by the new lines.
+
+All the messages collected so far can be shown to the user (and the current
+buffer cleared) by calling the overloaded \helpref{Flush()}{wxlogbufferflush} 
+method.
+
+\wxheading{Derived from}
+
+\helpref{wxLog}{wxlog}
+
+\wxheading{Include files}
+
+<wx/log.h>
+
+\wxheading{Library}
+
+\helpref{wxBase}{librarieslist}
+
+\latexignore{\rtfignore{\wxheading{Members}}}
+
+\membersection{wxLogBuffer::GetBuffer}\label{wxlogbuffergetbuffer}
+
+\func{const wxString\& }{GetBuffer}{\void}
+
+Returns the current buffer contains. Messages from different log function calls
+are separated with the new lines in the buffer.
+
+The buffer can be cleared by \helpref{Flush()}{wxlogbufferflush} which will
+also show the current contents to the user.
+
+
+\membersection{wxLogBuffer::Flush}\label{wxlogbufferflush}
+
+\func{virtual void}{Flush}{\void}
+
+Shows all the messages collected so far to the user (using a message box in the
+GUI applications or by printing them out to the console in text mode) and
+clears the internal buffer.
+
+
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% wxLogChain %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
 \section{\class{wxLogChain}}\label{wxlogchain}
@@ -429,6 +481,10 @@ delete wxLog::SetActiveTarget(...something else or NULL...);
 
 <wx/log.h>
 
+\wxheading{Library}
+
+\helpref{wxBase}{librarieslist}
+
 \latexignore{\rtfignore{\wxheading{Members}}}
 
 \membersection{wxLogChain::wxLogChain}\label{wxlogchainctor}
@@ -569,6 +625,10 @@ would be better written as:
 
 <wx/log.h>
 
+\wxheading{Library}
+
+\helpref{wxBase}{librarieslist}
+
 \latexignore{\rtfignore{\wxheading{Members}}}
 
 \membersection{wxLogNull::wxLogNull}\label{wxlognullctor}
@@ -598,12 +658,17 @@ don't want this to happen, use wxLogInterposerTemp instead.
 
 \wxheading{Derived from}
 
-\helpref{wxLogChain}{wxlogchain}
+\helpref{wxLogChain}{wxlogchain}\\
+\helpref{wxLog}{wxlog}
 
 \wxheading{Include files}
 
 <wx/log.h>
 
+\wxheading{Library}
+
+\helpref{wxBase}{librarieslist}
+
 \latexignore{\rtfignore{\wxheading{Members}}}
 
 \membersection{wxLogInterposer::wxLogInterposer}\label{wxloginterposerctor}
@@ -624,12 +689,17 @@ and/or \helpref{DoLogString}{wxlogdologstring} methods.
 
 \wxheading{Derived from}
 
-\helpref{wxLogChain}{wxlogchain}
+\helpref{wxLogChain}{wxlogchain}\\
+\helpref{wxLog}{wxlog}
 
 \wxheading{Include files}
 
 <wx/log.h>
 
+\wxheading{Library}
+
+\helpref{wxBase}{librarieslist}
+
 \latexignore{\rtfignore{\wxheading{Members}}}
 
 \membersection{wxLogInterposerTemp::wxLogInterposerTemp}\label{wxloginterposertempctor}
@@ -652,6 +722,10 @@ wxWidgets applications which send all the output to {\tt stderr}.
 
 <wx/log.h>
 
+\wxheading{Library}
+
+\helpref{wxBase}{librarieslist}
+
 \wxheading{See also}
 
 \helpref{wxLogStream}{wxlogstream}
@@ -682,6 +756,10 @@ the standard iostream library support ({\tt wxUSE\_STD\_IOSTREAM} must be on).
 
 <wx/log.h>
 
+\wxheading{Library}
+
+\helpref{wxBase}{librarieslist}
+
 \wxheading{See also}
 
 \helpref{wxLogStderr}{wxlogstderr},\\
@@ -738,7 +816,9 @@ them normally by showing the standard log dialog.
 
 \wxheading{Derived from}
 
-\helpref{wxLogInterposer}{wxloginterposer}
+\helpref{wxLogInterposer}{wxloginterposer}\\
+\helpref{wxLogChain}{wxlogchain}\\
+\helpref{wxLog}{wxlog}
 
 \wxheading{Include files}