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: 5.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
Syntax
public Layout<int> MessageLimit { get; set; }

Property Value

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