<PackageReference Include="System.Diagnostics.EventLog" Version="5.0.0-preview.1.20120.5" />

StandardEventLevel

public enum StandardEventLevel
Defines the standard event levels that are used in the Event Log service. The level defines the severity of the event. Custom event levels can be defined beyond these standard levels. For more information about levels, see EventLevel.

This level corresponds to critical errors, which is a serious error that has caused a major failure.

Error = 2

This level corresponds to normal errors that signify a problem.

This level corresponds to informational events or messages that are not errors. These events can help trace the progress or state of an application.

This value indicates that not filtering on the level is done during the event publishing.

Verbose = 5

This level corresponds to lengthy events or messages.

Warning = 3

This level corresponds to warning events. For example, an event that gets published because a disk is nearing full capacity is a warning event.