Click or drag to resize

LimitingTargetWrapperMessageLimit Property

Gets or sets the maximum allowed number of messages written per Interval.

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

Property Value

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