Public Methods |
| RemoteSyslogAppender (const std::string &name, const std::string &syslogName, const std::string &relayer, int facility=LOG_USER, int portNumber=514) |
| Instantiate a RemoteSyslogAppender with given name and name and facility for syslog. More...
|
virtual | ~RemoteSyslogAppender () |
virtual bool | reopen () |
| Closes and reopens the socket. More...
|
virtual void | close () |
| Closes the socket. More...
|
Static Public Methods |
int | toSyslogPriority (Priority::Value priority) |
| Translates a log4cpp priority to a syslog priority. More...
|
Protected Methods |
virtual void | open () |
| Just creates the socket. More...
|
virtual void | _append (const LoggingEvent &event) |
| Sends a LoggingEvent to the remote syslog. More...
|
Protected Attributes |
const std::string | _syslogName |
const std::string | _relayer |
int | _facility |
int | _portNumber |
int | _socket |
unsigned long | _ipAddr |