pub fn colored_default_format( w: &mut dyn Write, _now: &mut DeferredNow, record: &Record<'_>) -> Result<(), Error>
A colored version of the logline-formatter default_format that produces log lines like ERROR [my_prog::some_submodule] File not found
default_format
ERROR [my_prog::some_submodule] File not found
See method style if you want to influence coloring.
See std::write
std::write