log4cpp
1.1
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
include
log4cpp
Layout.hh
Go to the documentation of this file.
1
/*
2
* Layout.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_LAYOUT_HH
11
#define _LOG4CPP_LAYOUT_HH
12
13
#include <
log4cpp/Portability.hh
>
14
#include <
log4cpp/LoggingEvent.hh
>
15
#include <string>
16
17
namespace
log4cpp {
18
22
class
LOG4CPP_EXPORT
Layout
{
23
public
:
27
virtual
~Layout
() { };
28
35
virtual
std::string format(
const
LoggingEvent
& event) = 0;
36
};
37
}
38
39
#endif // _LOG4CPP_LAYOUT_HH
LoggingEvent.hh
log4cpp::Layout
Extend this abstract class to create your own log layout format.
Definition:
Layout.hh:22
Portability.hh
LOG4CPP_EXPORT
#define LOG4CPP_EXPORT
Definition:
Export.hh:19
log4cpp::LoggingEvent
The internal representation of logging events.
Definition:
LoggingEvent.hh:32
log4cpp::Layout::~Layout
virtual ~Layout()
Destructor for Layout.
Definition:
Layout.hh:27
Generated by
1.8.7