Browse Source

Update src/lib.rs

Co-authored-by: Sam Clements <[email protected]>
ctaoist 2 years ago
parent
commit
c7ab668657
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/lib.rs

+ 1 - 0
src/lib.rs

@@ -113,6 +113,7 @@ impl SimpleLogger {
 
 
             #[cfg(feature = "timestamps")]
             #[cfg(feature = "timestamps")]
             timestamps: Timestamps::Utc,
             timestamps: Timestamps::Utc,
+            #[cfg(feature = "timestamps")]
             timeformat: TIMESTAMP_FORMAT_OFFSET,
             timeformat: TIMESTAMP_FORMAT_OFFSET,
 
 
             #[cfg(feature = "colored")]
             #[cfg(feature = "colored")]