<PackageReference Include="NLog" Version="6.2.2" />

NLog.Filters.WhenRepeatedFilter

Matches when the result of the calculated layout has been repeated a moment ago
public int DefaultFilterCacheSize { get; set; }

Default number of unique filter values to expect, will automatically increase if needed

public string FilterCountMessageAppendFormat { get; set; }

Append FilterCount to the Message when an event is no longer filtered

public string FilterCountPropertyName { get; set; }

Insert FilterCount value into Properties when an event is no longer filtered

public bool IncludeFirst { get; set; }

Applies the configured action to the initial logevent that starts the timeout period. Used to configure that it should ignore all events until timeout.

public int MaxFilterCacheSize { get; set; }

Max number of unique filter values to expect simultaneously

public int MaxLength { get; set; }

Max length of filter values, will truncate if above limit

public int OptimizeBufferDefaultLength { get; set; }

Default buffer size for the internal buffers

public bool OptimizeBufferReuse { get; set; }

Reuse internal buffers, and doesn't have to constantly allocate new buffers

public int TimeoutSeconds { get; set; }

How long before a filter expires, and logging is accepted again