String buffer for the base logger. More...
#include <Console.hh>
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.
gazebo::common::Logger::Buffer::Buffer | ( | LogType | _type, |
int | _color | ||
) |
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 gazebo::common::Logger::Buffer::color |
ANSI color code using Select Graphic Rendition parameters (SGR).
LogType gazebo::common::Logger::Buffer::type |
Destination type for the messages.