<PackageReference Include="System.Diagnostics.EventLog" Version="10.0.4" />

System.Diagnostics.Eventing.Reader.EventLogStatus

public sealed class EventLogStatus
Contains the status code or error code for a specific event log. This status can be used to determine if the event log is available for an operation.
namespace System.Diagnostics.Eventing.Reader { public sealed class EventLogStatus { public string LogName { get; } public int StatusCode { get; } } }