Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

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 <string>
00014 #include <time.h>
00015 #include "log4cpp/Export.hh"
00016 #include "log4cpp/Priority.hh"
00017 
00021 namespace log4cpp {
00022 
00031     struct LOG4CPP_EXPORT LoggingEvent {
00032     public:
00044         LoggingEvent(const std::string& category, const std::string& message, 
00045                      const std::string& ndc, Priority::Value priority);
00046 
00047 
00049         const std::string& categoryName;
00050 
00052         const std::string& message;
00053 
00055         const std::string& ndc;
00056 
00058         Priority::Value priority;
00059 
00064         const std::string threadName;
00065 
00068         time_t timeStamp;
00069     };
00070 }
00071 
00072 #endif // _LOG4CPP_LOGGINGEVENT_HH
00073 

Generated at Mon Jun 11 01:25:09 2001 for log4cpp by doxygen1.2.6 written by Dimitri van Heesch, © 1997-2001