LocalSyslogAppender SyslogSeverity Enumeration | Apache log4net™ SDK Documentation

syslog severities

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

C#
VB
C++
F#
Copy

    public enum SyslogSeverity

    Public Enumeration SyslogSeverity

    public enum class SyslogSeverity

    type SyslogSeverity

Members

| Member name | Value | Description
--- | --- | --- | ---
| Emergency | 0 | system is unusable
| Alert | 1 | action must be taken immediately
| Critical | 2 | critical conditions
| Error | 3 | error conditions
| Warning | 4 | warning conditions
| Notice | 5 | normal but significant condition
| Informational | 6 | informational
| Debug | 7 | debug-level messages

Remarks

The log4net Level maps to a syslog severity using the AddMapping(LocalSyslogAppender
LevelSeverity) method and the LocalSyslogAppender
LevelSeverity class. The severity is set on Severity.

See Also

#### Reference

log4net.Appender Namespace