#include <Layout.hh>
Public Member Functions | |
virtual std::string | format (const LoggingEvent &event)=0 |
virtual std::string | format (const LoggingEvent &event)=0 |
virtual | ~Layout () |
virtual | ~Layout () |
Extend this abstract class to create your own log layout format.
Definition at line 22 of file include/log4cpp/Layout.hh.
virtual log4cpp::Layout::~Layout | ( | ) | [inline, virtual] |
Destructor for Layout.
Definition at line 27 of file include/log4cpp/Layout.hh.
virtual log4cpp::Layout::~Layout | ( | ) | [inline, virtual] |
Destructor for Layout.
Definition at line 27 of file install/include/log4cpp/Layout.hh.
virtual std::string log4cpp::Layout::format | ( | const LoggingEvent & | event | ) | [pure virtual] |
Formats the LoggingEvent data to a string that appenders can log. Implement this method to create your own layout format.
event | The LoggingEvent. |
Implemented in log4cpp::BasicLayout, log4cpp::PassThroughLayout, log4cpp::PatternLayout, log4cpp::SimpleLayout, log4cpp::BasicLayout, log4cpp::PassThroughLayout, log4cpp::PatternLayout, and log4cpp::SimpleLayout.
virtual std::string log4cpp::Layout::format | ( | const LoggingEvent & | event | ) | [pure virtual] |
Formats the LoggingEvent data to a string that appenders can log. Implement this method to create your own layout format.
event | The LoggingEvent. |
Implemented in log4cpp::BasicLayout, log4cpp::PassThroughLayout, log4cpp::PatternLayout, log4cpp::SimpleLayout, log4cpp::BasicLayout, log4cpp::PassThroughLayout, log4cpp::PatternLayout, and log4cpp::SimpleLayout.