|
OpenWalnut 1.3.1
|
Actually implementing the streaming functionality. More...
Public Member Functions | |
| Buffer (const std::string &source, LogLevel level) | |
| Constructs a new stream for logging. | |
| virtual | ~Buffer () |
| Commits the logging expression to our WLogger. | |
Public Attributes | |
| std::ostringstream | m_logString |
| queuing up parts of the log message | |
| LogLevel | m_level |
| Default logging level for this stream. | |
| std::string | m_source |
| The source of the logging message. | |
| wlog::WStreamedLogger::Buffer::Buffer | ( | const std::string & | source, |
| LogLevel | level | ||
| ) | [inline] |
| wlog::WStreamedLogger::Buffer::~Buffer | ( | ) | [virtual] |
Commits the logging expression to our WLogger.
Definition at line 126 of file WLogger.cpp.
References WLogger::addLogMessage(), WLogger::getLogger(), m_level, m_logString, and m_source.
| std::ostringstream wlog::WStreamedLogger::Buffer::m_logString |
| std::string wlog::WStreamedLogger::Buffer::m_source |
1.7.4