18 #ifndef _LOG4CXX_SYSLOG_WRITER_H 19 #define _LOG4CXX_SYSLOG_WRITER_H 22 #include <log4cxx/helpers/objectptr.h> 23 #include <log4cxx/helpers/inetaddress.h> 24 #include <log4cxx/helpers/datagramsocket.h> 27 #pragma warning ( push ) 28 #pragma warning ( disable: 4251 ) 42 #define SYSLOG_PORT 514 43 SyslogWriter(
const LogString& syslogHost,
int syslogHostPort = SYSLOG_PORT);
44 void write(
const LogString&
string);
49 InetAddressPtr address;
SyslogWriter is a wrapper around the DatagramSocket class it writes text to the specified host on the...
Definition: syslogwriter.h:39
Definition: appender.h:33