Classes | Public Member Functions | Static Public Member Functions | List of all members
sdf::SDF_VERSION_NAMESPACE::Console Class Reference

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...
 
ConsoleStreamColorMsg (const std::string &lbl, const std::string &file, unsigned int line, int color)
 Use this to output a colored message to the terminal. More...
 
ConsoleStreamGetLogStream ()
 Get the current log stream object. More...
 
ConsoleStreamGetMsgStream ()
 Get the current message stream object. More...
 
ConsoleStreamLog (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...
 

Detailed Description

Message, error, warning, and logging functionality.


The documentation for this class was generated from the following file: