Main Page | Data Structures | File List | Globals | Related Pages

logging_event.h

Go to the documentation of this file.
00001 /* $Id: logging_event.h,v 1.3 2003/09/12 21:06:45 legoater Exp $
00002  *
00003  * logging_event.h
00004  * 
00005  * Copyright 2001-2003, Meiosys (www.meiosys.com). All rights reserved.
00006  *
00007  * See the COPYING file for the terms of usage and distribution.
00008  */
00009 
00010 #ifndef log4c_logging_event_h
00011 #define log4c_logging_event_h
00012 
00023 #include <log4c/defs.h>
00024 #include <log4c/location_info.h>
00025 #include <sys/time.h>
00026 
00027 __LOG4C_BEGIN_DECLS
00028 
00029 struct __log4c_category;
00030 
00044 typedef struct 
00045 {
00046     const char* evt_category;
00047     int evt_priority;
00048     const char* evt_msg;
00049     const char* evt_rendered_msg;
00050     struct timeval evt_timestamp;
00051     const log4c_location_info_t* evt_loc;
00052 
00053 } log4c_logging_event_t;
00054 
00064 extern log4c_logging_event_t* log4c_logging_event_new(
00065     const char* a_category,
00066     int         a_priority,
00067     const char* a_message);
00072 extern void log4c_logging_event_delete(log4c_logging_event_t* a_event);
00073 
00074 __LOG4C_END_DECLS
00075 
00076 #endif

Generated on Sat Dec 11 16:41:25 2004 for log4c by  doxygen 1.3.9.1