log4c
1.2.4
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
log4c_priority_level_t
log4c_priority_level_t
Definition
priority.h:28
LOG4C_PRIORITY_FATAL
@ LOG4C_PRIORITY_FATAL
Definition
priority.h:29
LOG4C_PRIORITY_UNKNOWN
@ LOG4C_PRIORITY_UNKNOWN
Definition
priority.h:39
LOG4C_PRIORITY_INFO
@ LOG4C_PRIORITY_INFO
Definition
priority.h:35
LOG4C_PRIORITY_WARN
@ LOG4C_PRIORITY_WARN
Definition
priority.h:33
LOG4C_PRIORITY_NOTSET
@ LOG4C_PRIORITY_NOTSET
Definition
priority.h:38
LOG4C_PRIORITY_ERROR
@ LOG4C_PRIORITY_ERROR
Definition
priority.h:32
LOG4C_PRIORITY_DEBUG
@ LOG4C_PRIORITY_DEBUG
Definition
priority.h:36
LOG4C_PRIORITY_CRIT
@ LOG4C_PRIORITY_CRIT
Definition
priority.h:31
LOG4C_PRIORITY_NOTICE
@ LOG4C_PRIORITY_NOTICE
Definition
priority.h:34
LOG4C_PRIORITY_TRACE
@ LOG4C_PRIORITY_TRACE
Definition
priority.h:37
LOG4C_PRIORITY_ALERT
@ LOG4C_PRIORITY_ALERT
Definition
priority.h:30
log4c_priority_to_int
int log4c_priority_to_int(const char *a_priority_name)
Definition
priority.c:42
log4c_priority_to_string
const char * log4c_priority_to_string(int a_priority)
Definition
priority.c:32
Generated by
1.9.7