Message, error, warning, and logging functionality. More...
#include <Console.hh>
Classes | |
class | ConsoleStream |
An ostream-like class that we'll use for logging. More... | |
Public Member Functions | |
virtual | ~Console () |
Destructor. More... | |
ConsoleStream & | ColorMsg (const std::string &lbl, const std::string &file, unsigned int line, int color) |
Use this to output a colored message to the terminal. More... | |
ConsoleStream & | Log (const std::string &lbl, const std::string &file, unsigned int line) |
Use this to output a message to a log file at $HOME/.sdformat/sdformat.log . More... | |
void | SetQuiet (bool _q) |
Set quiet output. More... | |
Static Public Member Functions | |
static void | Clear () |
Clear out the current console to make room for a new one. More... | |
static ConsolePtr | Instance () |
Return an instance to this class. More... | |
Message, error, warning, and logging functionality.