Apache log4cxx  Version 0.12.1
log4cxx::helpers::SyslogWriter Class Reference

SyslogWriter is a wrapper around the DatagramSocket class it writes text to the specified host on the port 514 (UNIX syslog) More...

#include <syslogwriter.h>

Public Member Functions

 SyslogWriter (const LogString &syslogHost, int syslogHostPort=SYSLOG_PORT)
 
void write (const LogString &string)
 

Detailed Description

SyslogWriter is a wrapper around the DatagramSocket class it writes text to the specified host on the port 514 (UNIX syslog)

Constructor & Destructor Documentation

◆ SyslogWriter()

log4cxx::helpers::SyslogWriter::SyslogWriter ( const LogString syslogHost,
int  syslogHostPort = SYSLOG_PORT 
)

Member Function Documentation

◆ write()

void log4cxx::helpers::SyslogWriter::write ( const LogString string)

The documentation for this class was generated from the following file: