In This Article

LogLevel Enum

The level of importance for a log message.

public enum LogLevel

Fields

Name Description
Critical

The highest log level for errors that prevent or break the normal application flow.

Debug

A low level of logging used for messages that can assist with debugging.

Error

A higher log level for errors or exceptions that are handled by the application and do not break the application flow.

Information

A general level of logging for informative messages typically used to help define application flow.

None

Indicates that no logging should occur.

Trace

The lowest level of logging used for detailed trace messages.

Warning

A high level for messages that indicate a potential problem or concern but have not broken the application flow.

Extension Methods