.TH "appender_type_syslog.h" 3 "Version 1.2.4" "log4c" \" -*- nroff -*- .ad l .nh .SH NAME appender_type_syslog.h \- Log4c syslog(3) appender interface\&. .SH SYNOPSIS .br .PP \fC#include \fP .br \fC#include \fP .br .SS "Variables" .in +1c .ti -1c .RI "__LOG4C_BEGIN_DECLS const \fBlog4c_appender_type_t\fP \fBlog4c_appender_type_syslog\fP" .br .in -1c .SH "Detailed Description" .PP 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: \fC'syslog'\fP\&. .PP The following examples shows how to define and use syslog appenders\&. .PP .PP .nf log4c_appender_t* myappender; myappender = log4c_appender_get("myappender"); log4c_appender_set_type(myappender, &log4c_appender_type_syslog); .fi .PP .SH "Variable Documentation" .PP .SS "__LOG4C_BEGIN_DECLS const \fBlog4c_appender_type_t\fP log4c_appender_type_syslog\fC [extern]\fP" Syslog appender type definition\&. .PP This should be used as a parameter to the log4c_appender_set_type() routine to set the type of the appender\&. .SH "Author" .PP Generated automatically by Doxygen for log4c from the source code\&.