Apache Log4cxx  Version 1.2.0
Loading...
Searching...
No Matches
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)
 
 ~SyslogWriter ()
 
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 
)

◆ ~SyslogWriter()

log4cxx::helpers::SyslogWriter::~SyslogWriter ( )

Member Function Documentation

◆ write()

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

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