log4tango 4.0.3
|
#include <Layout.hh>
Public Member Functions | |
Layout () | |
Constructor for Layout. | |
virtual | ~Layout () |
Destructor for Layout. | |
virtual std::string | format (const LoggingEvent &event) |
Formats the LoggingEvent data to a string that appenders can log. |
log4tango::Layout::Layout | ( | ) | [inline] |
Constructor for Layout.
virtual log4tango::Layout::~Layout | ( | ) | [inline, virtual] |
Destructor for Layout.
std::string log4tango::Layout::format | ( | const LoggingEvent & | event | ) | [virtual] |
Formats the LoggingEvent data to a string that appenders can log.
Overload this method to create your own layout format.
event | The LoggingEvent. |
Reimplemented in log4tango::PatternLayout, and log4tango::XMLLayout.