log4shib
2.0.0
include
log4shib
SimpleLayout.hh
Go to the documentation of this file.
1
/*
2
* SimpleLayout.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 _LOG4SHIB_SIMPLELAYOUT_HH
11
#define _LOG4SHIB_SIMPLELAYOUT_HH
12
13
#include <
log4shib/Portability.hh
>
14
#include <
log4shib/Layout.hh
>
15
16
namespace
log4shib
{
17
21
class
LOG4SHIB_EXPORT
SimpleLayout
:
public
Layout
{
22
public
:
23
SimpleLayout
();
24
virtual
~
SimpleLayout
();
25
30
virtual
std::string format(
const
LoggingEvent
& event);
31
};
32
}
33
34
#endif // _LOG4SHIB_SIMPLELAYOUT_HH
log4shib::Layout
Extend this abstract class to create your own log layout format.
Definition:
Layout.hh:22
Portability.hh
log4shib::SimpleLayout
BasicLayout is a simple fixed format Layout implementation.
Definition:
SimpleLayout.hh:21
Layout.hh
log4shib
The top level namespace for all 'Log for C++' types and classes.
Definition:
AbortAppender.hh:16
LOG4SHIB_EXPORT
#define LOG4SHIB_EXPORT
Definition:
Export.hh:11
log4shib::LoggingEvent
The internal representation of logging events.
Definition:
LoggingEvent.hh:32
Generated by
1.8.17