A sink that receives batches of log events for output.
Sinks must implement AsyncDisposable for graceful shutdown. The flush() method is optional and forces immediate delivery of any buffered events.
AsyncDisposable
flush()
Write a batch of events to the output target.
Optional
Force immediate delivery of buffered events.
A sink that receives batches of log events for output.
Sinks must implement
AsyncDisposablefor graceful shutdown. Theflush()method is optional and forces immediate delivery of any buffered events.