<PackageReference Include="System.Diagnostics.EventLog" Version="4.7.0-preview3.19551.4" />

EventLevel

public sealed class EventLevel
Contains an event level that is defined in an event provider. The level signifies the severity of the event.
public string DisplayName { get; }

Gets the localized name for the event level. The name describes what severity level of events this level is used for.

public string Name { get; }

Gets the non-localized name of the event level.

public int Value { get; }

Gets the numeric value of the event level.