MIRA
|
Helper class that is created to make one logging process atomic and thread safe. More...
#include <error/LoggingCore.h>
Public Member Functions | |
Logger (SeverityLevel level, const Time &time, const std::string &file, int line, const std::string &function, ThreadID threadID) | |
The constructor taking the details of a log entry. More... | |
~Logger () | |
Destructor. More... | |
std::ostringstream & | stream () |
Get the underlying stream. More... | |
Protected Attributes | |
LogRecord | mRecord |
std::ostringstream | mStream |
Helper class that is created to make one logging process atomic and thread safe.
The stream is used to collect log data and the logger destructor will notify the core the core about the new log record. Never use this class directly. Use the macros MIRA_LOG and MIRA_LOG_ATTR instead.
|
inline |
The constructor taking the details of a log entry.
|
inline |
Destructor.
|
inline |
Get the underlying stream.
|
protected |
|
protected |