log4c 1.2.4
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
41
46LOG4C_API const char* log4c_priority_to_string(int a_priority);
47
52LOG4C_API int log4c_priority_to_int(const char* a_priority_name);
53
54__LOG4C_END_DECLS
55
56#endif
log4c_priority_level_t
Definition priority.h:28
@ LOG4C_PRIORITY_FATAL
Definition priority.h:29
@ LOG4C_PRIORITY_UNKNOWN
Definition priority.h:39
@ LOG4C_PRIORITY_INFO
Definition priority.h:35
@ LOG4C_PRIORITY_WARN
Definition priority.h:33
@ LOG4C_PRIORITY_NOTSET
Definition priority.h:38
@ LOG4C_PRIORITY_ERROR
Definition priority.h:32
@ LOG4C_PRIORITY_DEBUG
Definition priority.h:36
@ LOG4C_PRIORITY_CRIT
Definition priority.h:31
@ LOG4C_PRIORITY_NOTICE
Definition priority.h:34
@ LOG4C_PRIORITY_TRACE
Definition priority.h:37
@ LOG4C_PRIORITY_ALERT
Definition priority.h:30
int log4c_priority_to_int(const char *a_priority_name)
Definition priority.c:42
const char * log4c_priority_to_string(int a_priority)
Definition priority.c:32