Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
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
49
LoggingEvent
(
const
std::string& category,
50
const
std::string& message,
51
const
std::string& ndc,
52
Priority::Value
priority,
53
const
std::string& threadName,
54
TimeStamp
& timeStamp);
55
56
58
const
std::string
categoryName
;
59
61
const
std::string
message
;
62
64
const
std::string
ndc
;
65
67
Priority::Value
priority
;
68
72
const
std::string
threadName
;
73
76
TimeStamp
timeStamp
;
77
};
78
}
79
80
#endif // _LOG4CPP_LOGGINGEVENT_HH
81
TimeStamp.hh
log4cpp::LoggingEvent::message
const std::string message
Definition:
LoggingEvent.hh:61
Portability.hh
log4cpp::LoggingEvent::timeStamp
TimeStamp timeStamp
Definition:
LoggingEvent.hh:76
log4cpp::LoggingEvent::priority
Priority::Value priority
Definition:
LoggingEvent.hh:67
log4cpp::LoggingEvent::threadName
const std::string threadName
Definition:
LoggingEvent.hh:72
LOG4CPP_EXPORT
#define LOG4CPP_EXPORT
Definition:
Export.hh:26
log4cpp
Definition:
AbortAppender.hh:16
log4cpp::LoggingEvent
Definition:
LoggingEvent.hh:32
log4cpp::Priority::Value
int Value
Definition:
Priority.hh:85
log4cpp::TimeStamp
Definition:
TimeStamp.hh:20
log4cpp::LoggingEvent::ndc
const std::string ndc
Definition:
LoggingEvent.hh:64
Priority.hh
log4cpp::LoggingEvent::categoryName
const std::string categoryName
Definition:
LoggingEvent.hh:58
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:10:00