Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
genicam
library
CPP
include
log4cpp
BasicLayout.hh
Go to the documentation of this file.
1
/*
2
* BasicLayout.hh
3
*
4
* Copyright 2000, LifeLine Networks BV (www.lifeline.nl). All rights reserved.
5
* Copyright 2000, Bastiaan Bakker. All rights reserved.
6
*
7
* See the COPYING file for the terms of usage and distribution.
8
*/
9
10
#ifndef _LOG4CPP_BASICLAYOUT_HH
11
#define _LOG4CPP_BASICLAYOUT_HH
12
13
#include <
log4cpp/Portability.hh
>
14
#include <
log4cpp/Layout.hh
>
15
16
LOG4CPP_NS_BEGIN
17
21
class
LOG4CPP_EXPORT
BasicLayout
:
public
Layout
{
22
public
:
23
BasicLayout
();
24
virtual
~
BasicLayout
();
25
30
virtual
std::string
format
(
const
LoggingEvent
& event);
31
};
32
33
LOG4CPP_NS_END
34
35
36
#endif // _LOG4CPP_BASICLAYOUT_HH
Layout::format
virtual std::string format(const LoggingEvent &event)=0
Formats the LoggingEvent data to a string that appenders can log.
LOG4CPP_NS_END
#define LOG4CPP_NS_END
Definition:
Portability.hh:50
Layout.hh
BasicLayout
BasicLayout is a simple fixed format Layout implementation.
Definition:
BasicLayout.hh:21
LoggingEvent
The top level namespace for all 'Log for C++' types and classes.
Definition:
LoggingEvent.hh:32
Portability.hh
LOG4CPP_EXPORT
#define LOG4CPP_EXPORT
Definition:
Export.hh:21
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 Wed Mar 17 2021 02:48:40