Function flexi_logger::colored_default_format[][src]

pub fn colored_default_format(
    w: &mut dyn Write,
    _now: &mut DeferredNow,
    record: &Record<'_>
) -> Result<(), Error>
Expand description

A colored version of the logline-formatter default_format that produces log lines like
ERROR [my_prog::some_submodule] File not found

See method style if you want to influence coloring.

Only available with feature colors.

Errors

See std::write