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/Export.hh"
00017 #include "log4cpp/Priority.hh"
00018 #include "log4cpp/TimeStamp.hh"
00019
00023 namespace log4cpp {
00024
00033 struct LOG4CPP_EXPORT LoggingEvent {
00034 public:
00046 LoggingEvent(const std::string& category, const std::string& message,
00047 const std::string& ndc, Priority::Value priority);
00048
00049
00051 const std::string categoryName;
00052
00054 const std::string message;
00055
00057 const std::string ndc;
00058
00060 Priority::Value priority;
00061
00065 const std::string threadName;
00066
00069 TimeStamp timeStamp;
00070 };
00071 }
00072
00073 #endif // _LOG4CPP_LOGGINGEVENT_HH
00074