1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- #ifndef log4c_priority_h
- #define log4c_priority_h
- #include <log4c/defs.h>
- __LOG4C_BEGIN_DECLS
- 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
- } log4c_priority_level_t;
- LOG4C_API const char* log4c_priority_to_string(int a_priority);
- LOG4C_API int log4c_priority_to_int(const char* a_priority_name);
- __LOG4C_END_DECLS
- #endif
|