fn style<T>(level: log::Level, item: T) -> yansi::Paint<T> {
    match level {
        log::Level::Error => yansi::Paint::fixed(196, item).bold(),
        log::Level::Warn => yansi::Paint::fixed(208, item).bold(),
        log::Level::Info => yansi::Paint::new(item),
        log::Level::Debug => yansi::Paint::fixed(7, item),
        log::Level::Trace => yansi::Paint::fixed(8, item),
    }
}
/// Helper function that is used in the provided colored format functions.
///
/// Only available with feature `colors`.
Helper function that is used in the provided colored format functions.
Only available with feature `colors`.
Helper function that is used in the provided colored format functions . Only available with feature ` colors ` .
fn style<T>(level: log::Level, item: T) -> yansi::Paint<T> {
    match level {
        log::Level::Error => yansi::Paint::fixed(196, item).bold(),
        log::Level::Warn => yansi::Paint::fixed(208, item).bold(),
        log::Level::Info => yansi::Paint::new(item),
        log::Level::Debug => yansi::Paint::fixed(7, item),
        log::Level::Trace => yansi::Paint::fixed(8, item),
    }
}
fn style < T > ( level : log :: Level , item : T ) -> yansi :: Paint < T > { match level { log :: Level :: Error => yansi :: Paint :: fixed ( 196 , item ) . bold ( ) , log :: Level :: Warn => yansi :: Paint :: fixed ( 208 , item ) . bold ( ) , log :: Level :: Info => yansi :: Paint :: new ( item ) , log :: Level :: Debug => yansi :: Paint :: fixed ( 7 , item ) , log :: Level :: Trace => yansi :: Paint :: fixed ( 8 , item ) , } }
Helper function that is used in the provided colored format functions.
Helper function that is used in the provided colored format functions .
level
log::Level
item
T
level
log::Level
item
T