DOKK / manpages / debian 10 / liblog4c-doc / log4c_LOG4C_PRIORITY_ERROR.3.en
priority.h(3) log4c priority.h(3)

priority.h -

The priority class provides importance levels with which one can categorize log messages.

#include <log4c/defs.h>


enum log4c_priority_level_t { 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_API const char * log4c_priority_to_string (int a_priority)
LOG4C_API int log4c_priority_to_int (const char *a_priority_name)

The priority class provides importance levels with which one can categorize log messages.

syslog(3).

Enumerator:

fatal
alert
crit
error
warn
notice
info
debug
trace
notset
unknown

a_priority_name a priority string name.

Returns:

the given numeric value of the priority.

References LOG4C_PRIORITY_UNKNOWN.

a_priority a numeric value of the priority.

Returns:

the given priority string name.

Generated automatically by Doxygen for log4c from the source code.

Mon May 2 2011 Version 1.2.1