EventLogLevel Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Defines Event Log Levels.
public enum EventLogLevel
type EventLogLevel =
Public Enum EventLogLevel
- Inheritance
-
EventLogLevel
Fields
Name | Value | Description |
---|---|---|
LogAlways | 0 | No level filtering is done on this log level. Log messages of all levels will be logged. |
Critical | 1 | Logs that describe an unrecoverable application or system crash, or a catastrophic failure that requires immediate attention. |
Error | 2 | Logs that highlight when the current flow of execution is stopped due to a failure. These should indicate a failure in the current activity, not an application-wide failure. |
Warning | 3 | Logs that highlight an abnormal or unexpected event in the application flow, but do not otherwise cause the application execution to stop. |
Informational | 4 | Logs that track the general flow of the application. These logs should have long-term value. |
Verbose | 5 | Logs that are used for interactive investigation during development. These logs should primarily contain information useful for debugging and have no long-term value. |