Function flexi_logger::style

source ·
pub fn style(level: Level) -> Style
Expand 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.