use clout::{debug, error, info, status, trace, warn, success}; pub fn main() { clout::init() .with_verbose(4) .with_quiet(false) .with_silent(false) .with_use_color(clout::UseColor::Auto) .done() .expect("clout failed to init"); error!("an error: {}", 1); warn!("a warning: {}", 1 + 1); success!("success!"); status!("a normal message"); info!("useful info"); debug!("debug info"); trace!("tracing"); println!("done!"); clout::shutdown().expect("failed to shutdown clout"); }