flexi_loggerFunction colored_default_format
Source pub fn colored_default_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 default_format
.
It produces log lines like
ERROR [my_prog::some_submodule
] File not found
See method style
if you want to influence coloring.
ยงErrors
See std::write