Explorar el Código

feat(flutter): Ensure that the log format is aligned

huangrunheng hace 3 años
padre
commit
45f7b95a55
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      module/logger.py

+ 1 - 1
module/logger.py

@@ -170,7 +170,7 @@ file_formatter = logging.Formatter(
 console_formatter = logging.Formatter(
     fmt='%(asctime)s.%(msecs)03d │ %(message)s', datefmt='%Y-%m-%d %H:%M:%S')
 flutter_formatter = logging.Formatter(
-    fmt='%(asctime)s.%(msecs)03d │ %(message)s', datefmt='%H:%M:%S')
+    fmt='| %(asctime)s.%(msecs)03d | %(message)08s', datefmt='%H:%M:%S')
 
 
 # Add rich console logger