log4cpp  1.1.3
Public Member Functions | List of all members
log4cpp::PassThroughLayout Class Reference

#include <PassThroughLayout.hh>

Inheritance diagram for log4cpp::PassThroughLayout:
Inheritance graph
[legend]
Collaboration diagram for log4cpp::PassThroughLayout:
Collaboration graph
[legend]

Public Member Functions

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

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: