#include <LogOutputters.h>
Inherits ILogOutputter.
Inheritance diagram for CBufferedLogOutputter:
Public Types | |
typedef CBuffer::const_iterator | const_iterator |
Public Member Functions | |
CBufferedLogOutputter (UInt32 maxBufferSize) | |
virtual void | open (const char *title) |
Open the outputter. | |
virtual void | close () |
Close the outputter. | |
virtual void | show (bool showIfEmpty) |
Show the outputter. | |
virtual bool | write (ELevel level, const char *message) |
Write a message with level. | |
virtual const char * | getNewline () const |
Returns the newline sequence for the outputter. | |
accessors | |
const_iterator | begin () const |
Get start of buffer. | |
const_iterator | end () const |
Get end of buffer. |
This outputter records the last N log messages.
Definition at line 118 of file LogOutputters.h.
|
Close the outputter. Close the outputter. Calling this method on an already closed outputter must have no effect. Implements ILogOutputter. Definition at line 241 of file LogOutputters.cpp. |
|
Returns the newline sequence for the outputter. Different outputters use different character sequences for newlines. This method returns the appropriate newline sequence for this outputter. Implements ILogOutputter. Definition at line 264 of file LogOutputters.cpp. |
|
Open the outputter. Opens the outputter for writing. Calling this method on an already open outputter must have no effect. Implements ILogOutputter. Definition at line 235 of file LogOutputters.cpp. |
|
Show the outputter.
Causes the output to become visible. This generally only makes sense for a logger in a graphical user interface. Other implementations will do nothing. Iff Implements ILogOutputter. Definition at line 248 of file LogOutputters.cpp. |
|
Write a message with level.
Writes Implements ILogOutputter. Definition at line 254 of file LogOutputters.cpp. |