 | BufferingTargetWrapperOverflowAction Property |
Gets or sets the action to take if the buffer overflows.
Namespace:
NLog.Targets.Wrappers
Assembly:
NLog (in NLog.dll) Version: 6.0.0+cfb73701cda54e2410b006f649f072e90daef707
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
Default:
Flush . Setting to
Flush
will flush the entire buffer to the wrapped target. Setting to
Discard
will replace the oldest event with new events without sending events down to the wrapped target.
See Also