pub fn style(level: Level) -> Style
Available on crate feature
colors
only.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.