This class implements a streambuf interface to a Logger.
The streambuf appends all characters written to it to a string. As soon as a CR or LF (std::endl) is written, the string is sent to the Logger, with the set priority.
Direct Base Classes: UnbufferedStreamBuf
All Base Classes: UnbufferedStreamBuf
Creates the LogStream.
Destroys the LogStream.
std::size_t capacity() const;
Returns the internal message buffer capacity.
Message::Priority getPriority() const;
Returns the priority for log messages.
Logger & logger() const;
Returns a reference to the Logger.
Sets the capacity of the internal message buffer to the given size.
Sets the priority for log messages.