Loading...
Searching...
No Matches
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.
 
ConsoleStreamColorMsg (const std::string &lbl, const std::string &file, unsigned int line, int color)
 Use this to output a colored message to the terminal.
 
ConsoleStreamGetLogStream ()
 Get the current log stream object.
 
ConsoleStreamGetMsgStream ()
 Get the current message stream object.
 
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.
 
void SetQuiet (bool _q)
 Set quiet output.
 

Static Public Member Functions

static void Clear ()
 Clear out the current console to make room for a new one.
 
static ConsolePtr Instance ()
 Return an instance to this class.
 

Detailed Description

Message, error, warning, and logging functionality.


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