Skip to main content

write_json_line

Function write_json_line 

Source
fn write_json_line<S>(
    line: &mut String,
    ctx: &FmtContext<'_, S, FieldFormat>,
    event: &Event<'_>,
) -> Result
where S: Subscriber + for<'lookup> LookupSpan<'lookup>,
Expand description

Writes event as a JSON object, without a line break.