.TH "priority.h" 3 "Mon May 2 2011" "Version 1.2.1" "log4c" \" -*- nroff -*- .ad l .nh .SH NAME priority.h \- .PP The priority class provides importance levels with which one can categorize log messages. .SH SYNOPSIS .br .PP \fC#include \fP .br .SS "Enumerations" .in +1c .ti -1c .RI "enum \fBlog4c_priority_level_t\fP { \fBLOG4C_PRIORITY_FATAL\fP = 000, \fBLOG4C_PRIORITY_ALERT\fP = 100, \fBLOG4C_PRIORITY_CRIT\fP = 200, \fBLOG4C_PRIORITY_ERROR\fP = 300, \fBLOG4C_PRIORITY_WARN\fP = 400, \fBLOG4C_PRIORITY_NOTICE\fP = 500, \fBLOG4C_PRIORITY_INFO\fP = 600, \fBLOG4C_PRIORITY_DEBUG\fP = 700, \fBLOG4C_PRIORITY_TRACE\fP = 800, \fBLOG4C_PRIORITY_NOTSET\fP = 900, \fBLOG4C_PRIORITY_UNKNOWN\fP = 1000 }" .br .in -1c .SS "Functions" .in +1c .ti -1c .RI "LOG4C_API const char * \fBlog4c_priority_to_string\fP (int a_priority)" .br .ti -1c .RI "LOG4C_API int \fBlog4c_priority_to_int\fP (const char *a_priority_name)" .br .in -1c .SH "Detailed Description" .PP The priority class provides importance levels with which one can categorize log messages. .SH "Enumeration Type Documentation" .PP .SS "enum \fBlog4c_priority_level_t\fP"Predefined Levels of priorities. These correspond to the priority levels used by syslog(3). .PP \fBEnumerator: \fP .in +1c .TP \fB\fILOG4C_PRIORITY_FATAL \fP\fP fatal .TP \fB\fILOG4C_PRIORITY_ALERT \fP\fP alert .TP \fB\fILOG4C_PRIORITY_CRIT \fP\fP crit .TP \fB\fILOG4C_PRIORITY_ERROR \fP\fP error .TP \fB\fILOG4C_PRIORITY_WARN \fP\fP warn .TP \fB\fILOG4C_PRIORITY_NOTICE \fP\fP notice .TP \fB\fILOG4C_PRIORITY_INFO \fP\fP info .TP \fB\fILOG4C_PRIORITY_DEBUG \fP\fP debug .TP \fB\fILOG4C_PRIORITY_TRACE \fP\fP trace .TP \fB\fILOG4C_PRIORITY_NOTSET \fP\fP notset .TP \fB\fILOG4C_PRIORITY_UNKNOWN \fP\fP unknown .SH "Function Documentation" .PP .SS "LOG4C_API int log4c_priority_to_int (const char *a_priority_name)"\fBParameters:\fP .RS 4 \fIa_priority_name\fP a priority string name. .RE .PP \fBReturns:\fP .RS 4 the given numeric value of the priority. .RE .PP .PP References LOG4C_PRIORITY_UNKNOWN. .SS "LOG4C_API const char* log4c_priority_to_string (inta_priority)"\fBParameters:\fP .RS 4 \fIa_priority\fP a numeric value of the priority. .RE .PP \fBReturns:\fP .RS 4 the given priority string name. .RE .PP .SH "Author" .PP Generated automatically by Doxygen for log4c from the source code.