Message, error, warning functionality. More...
#include <common/commom.hh>
Public Member Functions | |
std::ostream & | ColorErr (const std::string &_lbl, const std::string &_file, unsigned int _line, int _color) |
Use this to output an error to the terminal. More... | |
std::ostream & | ColorMsg (const std::string &_lbl, int _color) |
Use this to output a colored message to the terminal. More... | |
bool | GetQuiet () const |
Get whether quiet output is set. More... | |
void | Init (const std::string &_logFilename) |
Load the message parameters. More... | |
bool | IsInitialized () const |
Return true if Init has been called. More... | |
std::ofstream & | Log () |
Use this to output a colored message to the terminal. More... | |
void | SetQuiet (bool _q) |
Set quiet output. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from SingletonT< T > | |
static T * | Instance () |
Get an instance of the singleton. More... | |
Protected Member Functions inherited from SingletonT< T > | |
SingletonT () | |
Constructor. More... | |
virtual | ~SingletonT () |
Destructor. More... | |
Message, error, warning functionality.