All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Layout Class Referenceabstract

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

#include <Layout.hh>

Inheritance diagram for Layout:

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

◆ ~Layout()

virtual Layout::~Layout ( )
inlinevirtual

Destructor for Layout.

Definition at line 27 of file Layout.hh.

Member Function Documentation

◆ format()

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 Wed Dec 4 2024 03:10:12