RemoteSyslogAppender Facility Property | Apache log4net™ SDK Documentation

Syslog facility

Namespace: log4net.Appender
Assembly: log4net (in log4net.dll) Version: 2.0.8.0-.NET 4.0
Syntax

C#
VB
C++
F#
Copy

    public RemoteSyslogAppenderSyslogFacility Facility { get; set; }

    Public Property Facility As RemoteSyslogAppenderSyslogFacility
    	Get
    	Set

    public:
    property RemoteSyslogAppenderSyslogFacility Facility {
    	RemoteSyslogAppenderSyslogFacility get ();
    	void set (RemoteSyslogAppenderSyslogFacility value);
    }

    member Facility : RemoteSyslogAppenderSyslogFacility with get, set

#### Property Value

Type: RemoteSyslogAppender
SyslogFacility
Remarks

Set to one of the RemoteSyslogAppender
SyslogFacility values. The list of facilities is predefined and cannot be extended. The default value is User.
See Also

#### Reference

RemoteSyslogAppender Class
log4net.Appender Namespace