|
log4cpp 1.1
|
Extend this abstract class to create your own log layout format. More...
#include <Layout.hh>

Public Member Functions | |
| virtual | ~Layout () |
| Destructor for Layout. | |
| virtual std::string | format (const LoggingEvent &event)=0 |
| Formats the LoggingEvent data to a string that appenders can log. | |
Extend this abstract class to create your own log layout format.
|
inlinevirtual |
Destructor for Layout.
|
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, and log4cpp::SimpleLayout.