pub fn submit(bytes: Vec<u8>)Expand description
Enqueue a serialized wide-event JSON line for the writer thread.
The Vec<u8> is sent over an unbounded channel to a single dedicated
writer thread that owns a BufWriter<Stdout>. This function never
blocks on I/O: if the channel is closed, the payload is dropped
silently and dropped_events is incremented.
The writer thread is started lazily on the first call.
Call flush at program exit to guarantee all pending lines are
written before the process terminates.