log4net SDK Reference |

# LocalSyslogAppender.GetSeverity Method

Translates a log4net level to a syslog severity.

[Visual Basic]
Overridable Protected Function GetSeverity( _
ByVal level As Level _
) As SyslogSeverity
[C#]
protected virtual SyslogSeverity GetSeverity(
Level level
);

#### Parameters

level
  A log4net level.

#### Return Value

A syslog severity.

#### Remarks

Translates a log4net level to a syslog severity.

#### See Also

LocalSyslogAppender Class | log4net.Appender Namespace