flexi_logger

Function colored_opt_format

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

A colored version of the logline-formatter opt_format.

See method style if you want to influence coloring.

ยงErrors

See std::write