NLog.Targets.Wrappers.BufferingTargetWrapper
A target that buffers log events and sends them in batches to the wrapped target.
Gets or sets the number of log events to be buffered.
Gets or sets the timeout (in milliseconds) after which the contents of buffer will be flushed
if there's no write in the specified period of time. Use -1 to disable timed flushes.
Gets or sets the action to take if the buffer overflows.
Gets or sets a value indicating whether to use sliding timeout.
public BufferingTargetWrapper()
Initializes a new instance of the BufferingTargetWrapper class.
Initializes a new instance of the BufferingTargetWrapper class.
Initializes a new instance of the BufferingTargetWrapper class.
Initializes a new instance of the BufferingTargetWrapper class.
Initializes a new instance of the BufferingTargetWrapper class.
public BufferingTargetWrapper(Target wrappedTarget, int bufferSize, int flushTimeout, BufferingTargetWrapperOverflowAction overflowAction)
Initializes a new instance of the BufferingTargetWrapper class.