00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 #ifndef _LOG4CPP_LOGGINGEVENT_HH
00011 #define _LOG4CPP_LOGGINGEVENT_HH
00012
00013 #include <log4cpp/Portability.hh>
00014 #include <string>
00015
00016 #include <log4cpp/Priority.hh>
00017 #include <log4cpp/TimeStamp.hh>
00018
00022 namespace log4cpp {
00023
00032 struct LOG4CPP_EXPORT LoggingEvent {
00033 public:
00045 LoggingEvent(const std::string& category, const std::string& message,
00046 const std::string& ndc, Priority::Value priority);
00047
00048
00050 const std::string categoryName;
00051
00053 const std::string message;
00054
00056 const std::string ndc;
00057
00059 Priority::Value priority;
00060
00064 const std::string threadName;
00065
00068 TimeStamp timeStamp;
00069 };
00070 }
00071
00072 #endif // _LOG4CPP_LOGGINGEVENT_HH
00073