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.5.0+1873145cbc26e0312d9481234d69ce7dc68aac4e
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