• Main Page
  • Related Pages
  • Data Structures
  • Files
  • File List
  • Globals

priority.h

Go to the documentation of this file.
00001 /* $Id$
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 LOG4C_API const char* log4c_priority_to_string(int a_priority);
00047 
00052 LOG4C_API int log4c_priority_to_int(const char* a_priority_name);
00053 
00054 __LOG4C_END_DECLS
00055 
00056 #endif

Generated on Sat Jan 15 2011 for log4c by  doxygen 1.7.1