Function flexi_logger::style
source · pub fn style(level: Level) -> StyleExpand description
Helper function that is used in the provided coloring format functions to apply colors based on the log level and the effective color palette.
See Logger::set_palette if you want to
modify the color palette.