Public Member Functions | List of all members
Layout Class Referenceabstract

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

#include <Layout.hh>

Inheritance diagram for Layout:
Inheritance graph
[legend]

Public Member Functions

virtual std::string format (const LoggingEvent &event)=0
 Formats the LoggingEvent data to a string that appenders can log. More...
 
virtual ~Layout ()
 Destructor for Layout. More...
 

Detailed Description

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

Definition at line 22 of file Layout.hh.

Constructor & Destructor Documentation

virtual Layout::~Layout ( )
inlinevirtual

Destructor for Layout.

Definition at line 27 of file Layout.hh.

Member Function Documentation

virtual std::string 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
eventThe LoggingEvent.
Returns
an appendable string.

Implemented in PatternLayout, BasicLayout, SimpleLayout, and PassThroughLayout.


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


rc_genicam_api
Author(s): Heiko Hirschmueller
autogenerated on Thu Jun 6 2019 19:10:55