Click or drag to resize

LimitingTargetWrapper Constructor (Target, Int32, TimeSpan)

Initializes a new instance of the LimitingTargetWrapper class.

Namespace:  NLog.Targets.Wrappers
Assembly:  NLog (in NLog.dll) Version: 5.3.4+73d83d3161d31288ca5c554cc50d27b6bed5f28b
Syntax
public LimitingTargetWrapper(
	Target wrappedTarget,
	int messageLimit,
	TimeSpan interval
)

Parameters

wrappedTarget
Type: NLog.TargetsTarget
The wrapped target.
messageLimit
Type: SystemInt32
Maximum number of messages written per interval.
interval
Type: SystemTimeSpan
Interval in which the maximum number of messages can be written.
See Also