An ostream-like class that we'll use for logging. More...
#include <Console.hh>
Public Member Functions | |
ConsoleStream (std::ostream *_stream) | |
Constructor. More... | |
std::ostream * | GetStream () |
Get the current stream object. More... | |
template<class T > | |
ConsoleStream & | operator<< (const T &_rhs) |
Redirect whatever is passed in to both our ostream (if non-NULL) and the log file (if open). More... | |
template<class T > | |
Console::ConsoleStream & | operator<< (const T &_rhs) |
void | Prefix (const std::string &_lbl, const std::string &_file, unsigned int _line, int _color) |
Print a prefix to both terminal and log file. More... | |
void | SetStream (std::ostream *_stream) |
Set the stream object. More... | |
An ostream-like class that we'll use for logging.
Console::ConsoleStream& sdf::SDF_VERSION_NAMESPACE::Console::ConsoleStream::operator<< | ( | const T & | _rhs | ) |
References sdf::SDF_VERSION_NAMESPACE::Console::Instance().