Identifies the level of an event.
Assembly: mscorlib (in mscorlib.dll)
|No level filtering is done on the event.|
|This level corresponds to a critical error, which is a serious error that has caused a major failure.|
|This level adds standard errors that signify a problem.|
|This level adds warning events (for example, events that are published because a disk is nearing full capacity).|
|This level adds informational events or messages that are not errors. These events can help trace the progress or state of an application.|
|This level adds lengthy events or messages. It causes all events to be logged.|
The following example shows how to use the class to specify event levels. This code example is part of a larger example provided for the EventSource class.
Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.