Skip to content

Commit

Permalink
Add an example for Timezones::None
Browse files Browse the repository at this point in the history
  • Loading branch information
borntyping committed Jan 19, 2022
1 parent 63519f5 commit 8dad754
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions examples/timestamps_none.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
use simple_logger::SimpleLogger;

fn main() {
SimpleLogger::new().without_timestamps().init().unwrap();

log::warn!("This is an example message.");
}

0 comments on commit 8dad754

Please sign in to comment.