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

EventLogNotFoundException

Represents the exception that is thrown when a requested event log (usually specified by the name of the event log or the path to the event log file) does not exist.
/* Exception of type 'System.OutOfMemoryException' was thrown. */