ctaoist %!s(int64=2) %!d(string=hai) anos
pai
achega
0939c3da80
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      src/lib.rs

+ 1 - 0
src/lib.rs

@@ -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,