LoggingEvent.hh
Go to the documentation of this file.
00001 /*
00002  * LoggingEvent.hh
00003  *
00004  * Copyright 2000, LifeLine Networks BV (www.lifeline.nl). All rights reserved.
00005  * Copyright 2000, Bastiaan Bakker. All rights reserved.
00006  *
00007  * See the COPYING file for the terms of usage and distribution.
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 
00049         LoggingEvent(const std::string& category,
00050                                          const std::string& message,
00051                      const std::string& ndc,
00052                                          Priority::Value priority,
00053                                          const std::string& threadName,
00054                                          TimeStamp& timeStamp);
00055 
00056 
00058         const std::string categoryName;
00059 
00061         const std::string message;
00062 
00064         const std::string ndc;
00065 
00067         Priority::Value priority;
00068 
00072         const std::string threadName;
00073 
00076         TimeStamp timeStamp;
00077     };
00078 }
00079 
00080 #endif // _LOG4CPP_LOGGINGEVENT_HH
00081 


log4cpp
Author(s): Stephen Roderick
autogenerated on Mon Oct 6 2014 03:13:14