#include <wx/log.h>
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 wxLogBuffer::Flush method.
Public Member Functions | |
wxLogBuffer () | |
The default ctor does nothing. | |
virtual void | Flush () |
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. | |
const wxString & | GetBuffer () const |
Returns the current buffer contains. |
wxLogBuffer::wxLogBuffer | ( | ) |
The default ctor does nothing.
virtual void wxLogBuffer::Flush | ( | ) | [virtual] |
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.
Reimplemented from wxLog.
const wxString& wxLogBuffer::GetBuffer | ( | ) | const |
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 Flush() which will also show the current contents to the user.
![]() |
[ top ] |