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 "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 

Generated at Mon Jan 28 01:40:21 2002 for log4cpp by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001