 | 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
Syntaxpublic Layout<TimeSpan> Interval { get; set; }
Public Property Interval As Layout(Of TimeSpan)
Get
Set
Dim instance As LimitingTargetWrapper
Dim value As Layout(Of TimeSpan)
value = instance.Interval
instance.Interval = value
member Interval : Layout<TimeSpan> with get, set
Property Value
Type:
LayoutTimeSpan
RemarksDefault:
1 hour. Messages received after
MessageLimit has been reached in the current
Interval will be discarded.
See Also