RemoteSyslogAppender GetSeverity Method | Apache log4net™ SDK Documentation

Translates a log4net level to a syslog severity.

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

C#
VB
C++
F#
Copy

    protected virtual RemoteSyslogAppenderSyslogSeverity GetSeverity(
    	Level level
    )

    Protected Overridable Function GetSeverity (
    	level As Level
    ) As RemoteSyslogAppenderSyslogSeverity

    protected:
    virtual RemoteSyslogAppenderSyslogSeverity GetSeverity(
    	Level^ level
    )

    abstract GetSeverity :
            level : Level -> RemoteSyslogAppenderSyslogSeverity
    override GetSeverity :
            level : Level -> RemoteSyslogAppenderSyslogSeverity

#### Parameters

level
  Type: log4net.Core
  Level
  A log4net level.

#### Return Value

Type: RemoteSyslogAppender
SyslogSeverity
A syslog severity.
Remarks

Translates a log4net level to a syslog severity.

See Also

#### Reference

RemoteSyslogAppender Class
log4net.Appender Namespace