#include <RemoteSyslogAppender.hh>
Inheritance diagram for log4cpp::RemoteSyslogAppender:


Public Member Functions | |
| 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. | |
| virtual | ~RemoteSyslogAppender () |
| virtual bool | reopen () |
| Closes and reopens the socket. | |
| virtual void | close () |
| Closes the socket. | |
Static Public Member Functions | |
| static int | toSyslogPriority (Priority::Value priority) |
| Translates a log4cpp priority to a syslog priority. | |
Protected Member Functions | |
| virtual void | open () |
| Just creates the socket. | |
| virtual void | _append (const LoggingEvent &event) |
| Sends a LoggingEvent to the remote syslog. | |
Protected Attributes | |
| const std::string | _syslogName |
| const std::string | _relayer |
| int | _facility |
| int | _portNumber |
| SOCKET | _socket |
| in_addr_t | _ipAddr |
Also see: draft-ietf-syslog-syslog-12.txt
|
||||||||||||||||||||||||
|
Instantiate a RemoteSyslogAppender with given name and name and facility for syslog.
|
|
|
|
|
|
Sends a LoggingEvent to the remote syslog.
Implements log4cpp::AppenderSkeleton. |
|
|
Closes the socket.
Implements log4cpp::AppenderSkeleton. |
|
|
Just creates the socket.
|
|
|
Closes and reopens the socket.
Reimplemented from log4cpp::AppenderSkeleton. |
|
|
Translates a log4cpp priority to a syslog priority.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.4.2