C API Documentation
|
#include <rrLogger.h>
Public Member Functions | |
LoggingBuffer (int level, const char *file, int line) | |
~LoggingBuffer () | |
std::ostream & | stream () |
Poco LogStream dumps to the log when a newline i.e. std::endl is encountered, howeve the old proprietary logging system dumps basically when the stream object goes out of scope.
This object allows us to to use the new Poco logging system and maintain compatability with all existing code.
This object is returne from the rr::Logger, exposes a ostream interface, and and dumps to the log when it goes out of scope.
rr::LoggingBuffer::~LoggingBuffer | ( | ) |
dump the contents of the stringstream to the log.
std::ostream& rr::LoggingBuffer::stream | ( | ) |
get the stream this buffer holds.