<PackageReference Include="System.Diagnostics.EventLog" Version="9.0.0-preview.4.24266.19" />

EventLogMode

public enum EventLogMode
Determines the behavior for the event log service handles an event log when the log reaches its maximum allowed size (when the event log is full).
namespace System.Diagnostics.Eventing.Reader { public enum EventLogMode { Circular, AutoBackup, Retain } }