log4shib::Layout Class Reference

Extend this abstract class to create your own log layout format. More...

#include <Layout.hh>

Inheritance diagram for log4shib::Layout:
log4shib::BasicLayout log4shib::PatternLayout log4shib::SimpleLayout

List of all members.

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.

Detailed Description

Extend this abstract class to create your own log layout format.


Constructor & Destructor Documentation

virtual log4shib::Layout::~Layout (  )  [inline, virtual]

Destructor for Layout.


Member Function Documentation

virtual std::string log4shib::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.

Parameters:
event The LoggingEvent.
Returns:
an appendable string.

Implemented in log4shib::BasicLayout, log4shib::PatternLayout, and log4shib::SimpleLayout.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 17 Jun 2013 for log4shib by  doxygen 1.6.1