1 2 3 4 5 6 7 8 9 10
pub use termcolor::ColorChoice; /// Whether to color logged output pub fn colorize_stderr() -> ColorChoice { if concolor_control::get(concolor_control::Stream::Stderr).color() { ColorChoice::Always } else { ColorChoice::Never } }