colors.rs 155 B

1234567
  1. use simple_logger::SimpleLogger;
  2. fn main() {
  3. SimpleLogger::new().with_colors(true).init().unwrap();
  4. log::warn!("This is an example message.");
  5. }