Преглед изворни кода

fix(log): add date to the timestamp of logs (#2669)

Daniel Rodríguez Rivero пре 3 година
родитељ
комит
ed50b7d33f
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      lua/lvim/core/log.lua

+ 1 - 1
lua/lvim/core/log.lua

@@ -52,7 +52,7 @@ function Log:init()
           processors = {
             structlog.processors.Namer(),
             structlog.processors.StackWriter({ "line", "file" }, { max_parents = 3, stack_level = 2 }),
-            structlog.processors.Timestamper "%H:%M:%S",
+            structlog.processors.Timestamper "%F %H:%M:%S",
           },
           formatter = structlog.formatters.Format( --
             "%s [%-5s] %s: %-30s",