Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
genicam
library
CPP
include
log4cpp
PassThroughLayout.hh
Go to the documentation of this file.
1
#if !defined(h_8e4861a3_f607_479c_ac2d_0b2d81b4c36c)
2
#define h_8e4861a3_f607_479c_ac2d_0b2d81b4c36c
3
4
#include <
log4cpp/Layout.hh
>
5
6
LOG4CPP_NS_BEGIN
7
class
PassThroughLayout
:
public
Layout
8
{
9
public
:
10
virtual
std::string
format
(
const
LoggingEvent
& event) {
return
event
.message; }
11
};
12
LOG4CPP_NS_END
13
14
15
#endif // h_8e4861a3_f607_479c_ac2d_0b2d81b4c36c
LOG4CPP_NS_END
#define LOG4CPP_NS_END
Definition:
Portability.hh:50
Layout.hh
LoggingEvent
The top level namespace for all 'Log for C++' types and classes.
Definition:
LoggingEvent.hh:32
PassThroughLayout::format
virtual std::string format(const LoggingEvent &event)
Formats the LoggingEvent data to a string that appenders can log.
Definition:
PassThroughLayout.hh:10
PassThroughLayout
Definition:
PassThroughLayout.hh:7
Layout
Extend this abstract class to create your own log layout format.
Definition:
Layout.hh:22
LOG4CPP_NS_BEGIN
#define LOG4CPP_NS_BEGIN
Definition:
Portability.hh:49
rc_genicam_api
Author(s): Heiko Hirschmueller
autogenerated on Thu Jun 6 2019 19:10:54