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

priority.h

Go to the documentation of this file.
00001 /* $Id: priority.h,v 1.3 2003/09/12 21:06:45 legoater Exp $
00002  *
00003  * priority.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_priority_h
00011 #define log4c_priority_h
00012 
00020 #include <log4c/defs.h>
00021 
00022 __LOG4C_BEGIN_DECLS
00023 
00028 typedef enum {  LOG4C_PRIORITY_FATAL    = 000,  LOG4C_PRIORITY_ALERT    = 100,  LOG4C_PRIORITY_CRIT     = 200,  LOG4C_PRIORITY_ERROR    = 300,  LOG4C_PRIORITY_WARN     = 400,  LOG4C_PRIORITY_NOTICE   = 500,  LOG4C_PRIORITY_INFO     = 600,  LOG4C_PRIORITY_DEBUG    = 700,  LOG4C_PRIORITY_TRACE    = 800,  LOG4C_PRIORITY_NOTSET   = 900,  LOG4C_PRIORITY_UNKNOWN  = 1000
00040 } log4c_priority_level_t;
00041 
00046 extern const char* log4c_priority_to_string(int a_priority);
00047 
00052 extern int log4c_priority_to_int(const char* a_priority_name);
00053 
00054 __LOG4C_END_DECLS
00055 
00056 #endif

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