log4cpp
1.1.6
Toggle main menu visibility
Loading...
Searching...
No Matches
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 _LOG4CPP_SIMPLELAYOUT_HH
11
#define _LOG4CPP_SIMPLELAYOUT_HH
12
13
#include <
log4cpp/Layout.hh
>
14
#include <
log4cpp/Portability.hh
>
15
16
namespace
log4cpp
{
17
21
class
LOG4CPP_EXPORT
SimpleLayout
:
public
Layout
{
22
public
:
23
SimpleLayout
();
24
virtual
~SimpleLayout
();
25
30
virtual
std::string
format
(
const
LoggingEvent
& event);
31
};
32
}
// namespace log4cpp
33
34
#endif
// _LOG4CPP_SIMPLELAYOUT_HH
LOG4CPP_EXPORT
#define LOG4CPP_EXPORT
Definition
Export.hh:26
Layout.hh
Portability.hh
log4cpp::Layout
Extend this abstract class to create your own log layout format.
Definition
Layout.hh:22
log4cpp::SimpleLayout::SimpleLayout
SimpleLayout()
Definition
SimpleLayout.cpp:23
log4cpp::SimpleLayout::format
virtual std::string format(const LoggingEvent &event)
Formats the LoggingEvent in SimpleLayout style: "priority - message".
Definition
SimpleLayout.cpp:27
log4cpp
The top level namespace for all 'Log for C++' types and classes.
Definition
AbortAppender.hh:16
log4cpp::LoggingEvent
The internal representation of logging events.
Definition
LoggingEvent.hh:32
include
log4cpp
SimpleLayout.hh
Generated by
1.17.0