update log format -- color

This commit is contained in:
engigu
2024-01-13 12:38:32 +08:00
parent 3817ee01e1
commit 4fb2ae43b5
+1
View File
@@ -31,6 +31,7 @@ func Setup() {
formatter := new(prefixed.TextFormatter)
formatter.DisableTimestamp = false
formatter.DisableColors = false
formatter.ForceFormatting = true
formatter.FullTimestamp = true
formatter.CallerFormatter = CallerFormatter