ctaoist hace 2 años
padre
commit
0939c3da80
Se han modificado 1 ficheros con 1 adiciones y 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,