log4cplus
1.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) |
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 | ( | const log4cplus::helpers::Properties & | properties | ) |
virtual log4cplus::SimpleLayout::~SimpleLayout | ( | ) | [virtual] |
virtual void log4cplus::SimpleLayout::formatAndAppend | ( | log4cplus::tostream & | output, |
const log4cplus::spi::InternalLoggingEvent & | event | ||
) | [virtual] |
Implements log4cplus::Layout.