Skip to main content

emit_ndjson

Function emit_ndjson 

Source
pub fn emit_ndjson<T: Serialize>(event_type: &str, data: &T)
Expand description

Emits an NDJSON event (one JSON line) to stdout.