refactor: print less log in slient mode

This commit is contained in:
Revincx
2022-10-15 12:34:14 +08:00
parent 7131decf73
commit ecf354fca9
2 changed files with 11 additions and 5 deletions

View File

@@ -40,7 +40,7 @@ func initLog() {
log.SetFormatter(&nested.Formatter{
HideKeys: true,
NoColors: true,
TimestampFormat: "[2006-01-02 15:04:05]",
TimestampFormat: "2006-01-02 15:04:05",
})
}
}