flexi_logger

Function json_format

Source
pub fn json_format(
    w: &mut dyn Write,
    now: &mut DeferredNow,
    record: &Record<'_>,
) -> Result<(), Error>
Available on crate feature json only.
Expand description

A logline-formatter that produces log lines in json format.

ยงErrors

See std::write