log4cpp 1.1.3
Loading...
Searching...
No Matches
log4cpp::PassThroughLayout Class Reference

#include <PassThroughLayout.hh>

Inheritance diagram for log4cpp::PassThroughLayout:
Collaboration diagram for log4cpp::PassThroughLayout:

Public Member Functions

virtual std::string format (const LoggingEvent &event)
 Formats the LoggingEvent data to a string that appenders can log.
 
- Public Member Functions inherited from log4cpp::Layout
virtual ~Layout ()
 Destructor for Layout.
 

Member Function Documentation

◆ format()

virtual std::string log4cpp::PassThroughLayout::format ( const LoggingEvent & event)
inlinevirtual

Formats the LoggingEvent data to a string that appenders can log.

Implement this method to create your own layout format.

Parameters
eventThe LoggingEvent.
Returns
an appendable string.

Implements log4cpp::Layout.


The documentation for this class was generated from the following file: