🐛 修复多余的控制台打印

This commit is contained in:
李寻欢 2022-01-05 17:39:34 +08:00
parent 30939d9b16
commit 2ba0cf7548
1 changed files with 0 additions and 2 deletions

View File

@ -26,8 +26,6 @@ func initLokiCore() zapcore.Core {
// 自定义时间输出格式
customTimeEncoder := func(t time.Time, enc zapcore.PrimitiveArrayEncoder) {
aa := t.Format("2006-01-02 15:04:05.000")
fmt.Println(aa)
enc.AppendString(t.Format("2006-01-02 15:04:05.000"))
}