pub fn set_up_color_terminal()
Expand description

Configure the console to display colours.

This method does nothing if not running on Windows with the colored feature.

Examples found in repository?
examples/wrap.rs (line 23)
22
23
24
25
26
27
28
29
30
fn main() {
    set_up_color_terminal();

    let simple_logger = SimpleLogger::new();
    log::set_max_level(simple_logger.max_level());

    let wrapper_logger = WrapperLogger { simple_logger };
    log::set_boxed_logger(Box::new(wrapper_logger)).unwrap();
}