Inheritance diagram for SyslogAppender:

Public Member Functions | |
| void | close () |
| void | append (const spi::LoggingEventPtr &event) |
| void | activateOptions () |
| void | setOption (const String &option, const String &value) |
| virtual bool | requiresLayout () const |
| void | setSyslogHost (const String &syslogHost) |
| const String & | getSyslogHost () const |
| void | setFacility (const String &facilityName) |
| String | getFacility () const |
| void | setFacilityPrinting (bool facilityPrinting) |
| bool | getFacilityPrinting () const |
Static Public Member Functions | |
| String | getFacilityString (int syslogFacility) |
| int | getFacility (const String &facilityName) |
|
|
This method returns immediately as options are activated when they are set. Reimplemented from AppenderSkeleton. |
|
|
Subclasses of Implements AppenderSkeleton. |
|
|
Release any resources held by this SyslogAppender. Implements Appender. |
|
|
Returns the value of the Facility option. |
|
|
Returns the integer value corresponding to the named syslog facility, or -1 if it couldn't be recognized.
|
|
|
Returns the value of the FacilityPrinting option. |
|
|
Returns the specified syslog facility as a lower-case String, e.g. "kern", "user", etc. |
|
|
Returns the value of the SyslogHost option. |
|
|
The SyslogAppender requires a layout. Hence, this method returns Implements Appender. |
|
|
Set the syslog facility. This is the Facility option.
The |
|
|
If the FacilityPrinting option is set to true, the printed message will include the facility name of the application. It is false by default. |
|
||||||||||||
|
Set The handling of each option depends on the OptionHandler instance. Some options may become active immediately whereas other may be activated only when activateOptions is called. Reimplemented from AppenderSkeleton. |
|
|
The SyslogHost option is the name of the the syslog host where log output should go. WARNING If the SyslogHost is not set, then this appender will fail. |
1.3.9.1