C API Documentation
Public Member Functions | List of all members
rr::LoggingBuffer Class Reference

#include <rrLogger.h>

Public Member Functions

 LoggingBuffer (int level, const char *file, int line)
 
 ~LoggingBuffer ()
 
std::ostream & stream ()
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ ~LoggingBuffer()

rr::LoggingBuffer::~LoggingBuffer ( )

dump the contents of the stringstream to the log.

Member Function Documentation

◆ stream()

std::ostream& rr::LoggingBuffer::stream ( )

get the stream this buffer holds.


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