std_out_single_thread_utc_timestamps/
utc-timestamps.rs

1use rslogger::Logger;
2use log::{info, warn, error};
3
4fn main() {
5    Logger::new()
6        .with_level(log::LevelFilter::Trace)
7        .with_utc_timestamps()
8        .add_writer_stdout(false, None)
9        .init().unwrap();
10
11    info!("This is a info test");
12    warn!("This is a warn test");
13    error!("This is an error test");
14
15
16    log::logger().flush();
17}