 | BufferingTargetWrapperOverflowAction Property |
Gets or sets the action to take if the buffer overflows.
Namespace:
NLog.Targets.Wrappers
Assembly:
NLog (in NLog.dll) Version: 5.5.0+1873145cbc26e0312d9481234d69ce7dc68aac4e
Syntaxpublic BufferingTargetWrapperOverflowAction OverflowAction { get; set; }
Public Property OverflowAction As BufferingTargetWrapperOverflowAction
Get
Set
Dim instance As BufferingTargetWrapper
Dim value As BufferingTargetWrapperOverflowAction
value = instance.OverflowAction
instance.OverflowAction = value
member OverflowAction : BufferingTargetWrapperOverflowAction with get, set
Property Value
Type:
BufferingTargetWrapperOverflowAction
Remarks
Setting to
Discard will replace the
oldest event with new events without sending events down to the wrapped target, and
setting to
Flush will flush the
entire buffer to the wrapped target.
See Also