Actually implementing the streaming functionality.
More...
List of all members.
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.
|
Detailed Description
Actually implementing the streaming functionality.
Definition at line 216 of file WLogger.h.
Constructor & Destructor Documentation
| wlog::WStreamedLogger::Buffer::Buffer |
( |
const std::string & |
source, |
|
|
LogLevel |
level |
|
) |
| |
|
inline |
Constructs a new stream for logging.
- Parameters:
-
| source | String identifying the source of the message |
| level | LogLevel of the message |
Definition at line 266 of file WLogger.h.
| wlog::WStreamedLogger::Buffer::~Buffer |
( |
| ) |
|
|
virtual |
Member Data Documentation
| LogLevel wlog::WStreamedLogger::Buffer::m_level |
Default logging level for this stream.
Definition at line 233 of file WLogger.h.
Referenced by ~Buffer().
| std::ostringstream wlog::WStreamedLogger::Buffer::m_logString |
| std::string wlog::WStreamedLogger::Buffer::m_source |
The documentation for this class was generated from the following files: