log4cpp
1.0
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
LoggingEvent.hh
Go to the documentation of this file.
1
/*
2
* LoggingEvent.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_LOGGINGEVENT_HH
11
#define _LOG4CPP_LOGGINGEVENT_HH
12
13
#include <
log4cpp/Portability.hh
>
14
#include <string>
15
16
#include <
log4cpp/Priority.hh
>
17
#include <
log4cpp/TimeStamp.hh
>
18
22
namespace
log4cpp {
23
32
struct
LOG4CPP_EXPORT
LoggingEvent
{
33
public
:
45
LoggingEvent
(
const
std::string& category,
const
std::string& message,
46
const
std::string& ndc,
Priority::Value
priority);
47
48
50
const
std::string
categoryName
;
51
53
const
std::string
message
;
54
56
const
std::string
ndc
;
57
59
Priority::Value
priority
;
60
64
const
std::string
threadName
;
65
68
TimeStamp
timeStamp
;
69
};
70
}
71
72
#endif // _LOG4CPP_LOGGINGEVENT_HH
73
Generated by
1.8.1.1