Click or drag to resize

LimitingTargetWrapperInterval Property

Gets or sets the interval in which messages will be written up to the MessageLimit number of messages.

Namespace:  NLog.Targets.Wrappers
Assembly:  NLog (in NLog.dll) Version: 6.0.0+cfb73701cda54e2410b006f649f072e90daef707
Syntax
public Layout<TimeSpan> Interval { get; set; }

Property Value

Type: LayoutTimeSpan
Remarks
Default: 1 hour. Messages received after MessageLimit has been reached in the current Interval will be discarded.
See Also