String buffer for the base logger. More...
#include <Console.hh>
Inherits stringbuf.
Public Member Functions | |
Buffer (LogType _type, int _color) | |
Constructor. More... | |
virtual | ~Buffer () |
Destructor. More... | |
virtual int | sync () |
Sync the stream (output the string buffer contents). More... | |
Public Attributes | |
int | color |
ANSI color code using Select Graphic Rendition parameters (SGR). More... | |
LogType | type |
Destination type for the messages. More... | |
String buffer for the base logger.
Constructor.
[in] | _type | Output destination type (STDOUT, or STDERR) |
[in] | _color | Color of the output stream. |
|
virtual |
Destructor.
|
virtual |
Sync the stream (output the string buffer contents).
int color |
ANSI color code using Select Graphic Rendition parameters (SGR).
LogType type |
Destination type for the messages.