Table of Contents

Class LevelAlias

Namespace
Serilog.Events
Assembly
Serilog.dll

Descriptive aliases for LogEventLevel.

public static class LevelAlias
Inheritance
LevelAlias
Inherited Members

Remarks

These do not appear as members of the enumeration as duplicated underlying values result in issues when presenting enum values with ToString().

Fields

Maximum

The most significant level of event.

public const LogEventLevel Maximum = Fatal

Field Value

LogEventLevel

Minimum

The least significant level of event.

public const LogEventLevel Minimum = Verbose

Field Value

LogEventLevel

Off

A value that, when used as a "minimum" level, will result in no events being emitted.

public const LogEventLevel Off = (LogEventLevel)6

Field Value

LogEventLevel

Remarks

It is never correct to construct a LogEvent with this value.