Skip to main content

write_spans

Function write_spans 

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

Writes the event’s spans from the root, as "spans":[...], unless it has none apart from the global span.