Translates a log4net level to a syslog severity.
Namespace: log4net.AppenderAssembly: log4net (in log4net.dll) Version: 2.0.6.0-.NET 4.0
protected virtual LocalSyslogAppenderSyslogSeverity GetSeverity(
Level level
)
Protected Overridable Function GetSeverity (
level As Level
) As LocalSyslogAppenderSyslogSeverity
protected:
virtual LocalSyslogAppenderSyslogSeverity GetSeverity(
Level^ level
)
abstract GetSeverity :
level : Level -> LocalSyslogAppenderSyslogSeverity
override GetSeverity :
level : Level -> LocalSyslogAppenderSyslogSeverity
Parameters
- level
- Type: log4net.CoreLevel
A log4net level.
Return Value
Type:
LocalSyslogAppenderSyslogSeverityA syslog severity.
Translates a log4net level to a syslog severity.
Reference