Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
ctaoist committed Mar 15, 2023
1 parent 5998a66 commit 0939c3d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -346,6 +346,7 @@ impl SimpleLogger {
set_up_color_terminal();

// Set default timestamp format
#[cfg(feature = "timestamps")]
if self.timeformat.len() <= 0 {
self.timeformat = match self.timestamps {
Timestamps::Local => TIMESTAMP_FORMAT_OFFSET,
Expand Down

0 comments on commit 0939c3d

Please sign in to comment.