<PackageReference Include="System.Diagnostics.EventLog" Version="10.0.0-rc.2.25502.107" />

OverflowAction

public enum OverflowAction
Specifies how to handle entries in an event log that has reached its maximum file size.

Indicates that existing entries are retained when the event log is full and new entries are discarded.

Indicates that each new entry overwrites the oldest entry when the event log is full.

This field is deprecated.