Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
include
log4cpp
PassThroughLayout.hh
Go to the documentation of this file.
1
/*
2
* Copyright 2002, LifeLine Networks BV (www.lifeline.nl). All rights reserved.
3
* Copyright 2002, Bastiaan Bakker. All rights reserved.
4
*
5
* See the COPYING file for the terms of usage and distribution.
6
*/
7
8
#if !defined(h_8e4861a3_f607_479c_ac2d_0b2d81b4c36c)
9
#define h_8e4861a3_f607_479c_ac2d_0b2d81b4c36c
10
11
#include <
log4cpp/Layout.hh
>
12
13
namespace
log4cpp
14
{
15
class
PassThroughLayout
:
public
Layout
16
{
17
public
:
18
virtual
std::string
format
(
const
LoggingEvent
& event) {
return
event
.message; }
19
};
20
}
21
22
#endif // h_8e4861a3_f607_479c_ac2d_0b2d81b4c36c
Layout.hh
log4cpp::PassThroughLayout
Definition:
PassThroughLayout.hh:15
log4cpp::Layout
Definition:
Layout.hh:22
log4cpp::PassThroughLayout::format
virtual std::string format(const LoggingEvent &event)
Definition:
PassThroughLayout.hh:18
log4cpp
Definition:
AbortAppender.hh:16
log4cpp::LoggingEvent
Definition:
LoggingEvent.hh:32
log4cpp
Author(s): Stephen Roderick, Bastiaan Bakker, Cedric Le Goater, Steve Ostlind, Marcel Harkema, Walter Stroebel, Glenn Scott and Tony Cheung
autogenerated on Sun Jun 23 2019 19:14:17