extern crate kwiwk_experimental as kwexp; #[macro_use] extern crate log; fn main() { kwexp::initialize_logger(module_path!()); kwexp::disable_panic_msg(); println!("Default to Info level"); trace!("logging trace"); debug!("logging debug"); info!("logging info"); warn!("logging warning"); error!("logging error"); println!(); println!("Setting to Trace level"); log::set_max_level(log::LevelFilter::Trace); trace!("logging trace"); debug!("logging debug"); info!("logging info"); warn!("logging warning"); error!("logging error"); panic!("This shouldn't show"); }