log4c
1.2.4
Main Page
Related Pages
Data Structures
Files
File List
Globals
log4c
priority.h
Go to the documentation of this file.
1
/* $Id: priority.h,v 1.5 2006/10/01 18:28:55 rbyrne Exp $
2
*
3
* priority.h
4
*
5
* Copyright 2001-2003, Meiosys (www.meiosys.com). All rights reserved.
6
*
7
* See the COPYING file for the terms of usage and distribution.
8
*/
9
10
#ifndef log4c_priority_h
11
#define log4c_priority_h
12
20
#include <log4c/defs.h>
21
22
__LOG4C_BEGIN_DECLS
23
28
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
40
}
log4c_priority_level_t
;
41
46
LOG4C_API
const
char
* log4c_priority_to_string(
int
a_priority);
47
52
LOG4C_API
int
log4c_priority_to_int(
const
char
* a_priority_name);
53
54
__LOG4C_END_DECLS
55
56
#endif
Generated by
1.8.3.1