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

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 { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_EventLog); } } public int StatusCode { get { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_EventLog); } } internal EventLogStatus() { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_EventLog); } } }