log4cplus
2.1.0
|
SimpleLayout consists of the LogLevel of the log statement, followed by " - " and then the log message itself. More...
#include <layout.h>
Public Member Functions | |
SimpleLayout () | |
SimpleLayout (const log4cplus::helpers::Properties &properties) | |
virtual | ~SimpleLayout () |
virtual void | formatAndAppend (log4cplus::tostream &output, const log4cplus::spi::InternalLoggingEvent &event) |
Public Member Functions inherited from log4cplus::Layout | |
Layout () | |
Layout (const helpers::Properties &properties) | |
virtual | ~Layout ()=0 |
Additional Inherited Members | |
Protected Attributes inherited from log4cplus::Layout | |
LogLevelManager & | llmCache |
SimpleLayout consists of the LogLevel of the log statement, followed by " - " and then the log message itself.
For example,
DEBUG - Hello world
PatternLayout offers a much more powerful alternative.
log4cplus::SimpleLayout::SimpleLayout | ( | ) |
log4cplus::SimpleLayout::SimpleLayout | ( | const log4cplus::helpers::Properties & | properties | ) |
|
virtual |
|
virtual |
Implements log4cplus::Layout.