syslog severities
Namespace: log4net.Appender
Assembly: log4net (in log4net.dll) Version: 2.0.6.0-.NET 4.0
Syntax
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(LocalSyslogAppenderLevelSeverity) method and the LocalSyslogAppenderLevelSeverity class. The severity is set on Severity.
See Also