log4c
1.2.4
|
Log4c syslog(3) appender interface. More...
Go to the source code of this file.
Variables | |
__LOG4C_BEGIN_DECLS const log4c_appender_type_t | log4c_appender_type_syslog |
Log4c syslog(3) appender interface.
The syslog appender uses the syslog(3) interface for logging. The log4c priorities are mapped to the syslog priorities and the appender name is used as a syslog identifier. 1 default syslog appender is defined: "syslog"
.
The following examples shows how to define and use syslog appenders.
__LOG4C_BEGIN_DECLS const log4c_appender_type_t log4c_appender_type_syslog |
Syslog appender type definition.
This should be used as a parameter to the log4c_appender_set_type() routine to set the type of the appender.