Class LogLevel
Enumeration of the logging levels defined by the LaunchDarkly.Logging abstraction.
Inheritance
Namespace: LaunchDarkly.Logging
Assembly: LaunchDarkly.Logging.dll
Syntax
public sealed class LogLevel : Enum
Remarks
This is the same basic level concept that exists in most logging frameworks. Levels are ranked in ascending order from Debug to Error. Whatever minimum level is enabled for the logger, any messages at a lower level will be suppressed: for instance, if the minimum level is Warn, then there will be no output for Debug or Info.
Fields
Debug
This level is for very detailed and verbose messages that are rarely useful except in diagnosing an unusual problem.
Declaration
public const LogLevel Debug
Field Value
Type | Description |
---|---|
LogLevel |
Error
This level is for errors that should not happen during normal operation and should be investigated.
Declaration
public const LogLevel Error
Field Value
Type | Description |
---|---|
LogLevel |
Info
This level is for informational messages that are logged during normal operation.
Declaration
public const LogLevel Info
Field Value
Type | Description |
---|---|
LogLevel |
None
This level is not used for output; setting the minimum enabled level to None disables all output.
Declaration
public const LogLevel None
Field Value
Type | Description |
---|---|
LogLevel |
value__
Declaration
public int value__
Field Value
Type | Description |
---|---|
System.Int32 |
Warn
This level is for messages about unexpected conditions that may be worth noting, but that do not necessarily prevent things from working.
Declaration
public const LogLevel Warn
Field Value
Type | Description |
---|---|
LogLevel |