Serilog.Sinks.PeriodicBatching.PeriodicBatchingSink
Buffers log events into batches for background flushing.
Constant used with legacy constructor to indicate that the internal queue shouldn't be limited.
Construct a PeriodicBatchingSink.
Construct a PeriodicBatchingSink. New code should avoid subclassing
PeriodicBatchingSink and use
#ctor
instead.
Construct a PeriodicBatchingSink. New code should avoid subclassing
PeriodicBatchingSink and use
#ctor
instead.
Determine whether a queued log event should be included in the batch. If
an override returns false, the event will be dropped.
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Free resources held by the sink.
Emit the provided log event to the sink. If the sink is being disposed or
the app domain unloaded, then the event is ignored.
Emit a batch of log events, running to completion synchronously.
Emit a batch of log events, running asynchronously.
Allows derived sinks to perform periodic work without requiring additional threads
or timers (thus avoiding additional flush/shut-down complexity).
Allows derived sinks to perform periodic work without requiring additional threads
or timers (thus avoiding additional flush/shut-down complexity).