LocalSyslogAppender 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 LocalSyslogAppenderSyslogFacility Facility { get; set; }

    Public Property Facility As LocalSyslogAppenderSyslogFacility
    	Get
    	Set

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

    member Facility : LocalSyslogAppenderSyslogFacility with get, set

#### Property Value

Type: LocalSyslogAppender
SyslogFacility
Remarks

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

#### Reference

LocalSyslogAppender Class
log4net.Appender Namespace