Skip to main content

enqueue_background

Function enqueue_background 

Source
pub fn enqueue_background(entry: LogEntry)
Expand description

Enqueues a log entry into the background batch writer, off the caller’s hot path.

Non-blocking: dropped (and counted) if the sink is unattached or the channel is full. Error entries also request an immediate flush.