SysTutorials

Linux Manual Pages › Section 3

log4cppsimplelayout(3)

log4cpp::SimpleLayout –

BasicLayout is a simple fixed format Layout implementation.

Synopsis

#include <SimpleLayout.hh>

Inherits log4cpp::Layout.

Public Member Functions

SimpleLayout ()

virtual ~SimpleLayout ()

virtual std::string format (const LoggingEvent &event)
Formats the LoggingEvent in SimpleLayout style:

 ‘priority – message’. "

Detailed Description

BasicLayout is a simple fixed format Layout implementation.

Constructor & Destructor Documentation

log4cpp::SimpleLayout::SimpleLayout ()

log4cpp::SimpleLayout::~SimpleLayout () [virtual]

Member Function Documentation

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

Formats the LoggingEvent in SimpleLayout style:

 ‘priority – message’. 

Implements log4cpp::Layout.

Author

Generated automatically by Doxygen for log4cpp from the source code.