log4cpp  1.1.1
Public Member Functions | List of all members
log4cpp::SimpleLayout Class Reference

BasicLayout is a simple fixed format Layout implementation. More...

#include <SimpleLayout.hh>

Inheritance diagram for log4cpp::SimpleLayout:
log4cpp::Layout

Public Member Functions

 SimpleLayout ()
 
virtual ~SimpleLayout ()
 
virtual std::string format (const LoggingEvent &event)
 Formats the LoggingEvent in SimpleLayout style:
"priority - message". More...
 
- Public Member Functions inherited from log4cpp::Layout
virtual ~Layout ()
 Destructor for Layout. More...
 

Detailed Description

BasicLayout is a simple fixed format Layout implementation.

Constructor & Destructor Documentation

◆ SimpleLayout()

log4cpp::SimpleLayout::SimpleLayout ( )

◆ ~SimpleLayout()

log4cpp::SimpleLayout::~SimpleLayout ( )
virtual

Member Function Documentation

◆ format()

std::string log4cpp::SimpleLayout::format ( const LoggingEvent event)
virtual

Formats the LoggingEvent in SimpleLayout style:
"priority - message".

Implements log4cpp::Layout.


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