modify logger -> log

This commit is contained in:
yanghao05
2023-01-30 11:26:20 +08:00
parent f2c893709d
commit 3ab579fed7
10 changed files with 14 additions and 200 deletions

View File

@@ -7,8 +7,7 @@ import (
)
type LevelWriter struct {
Logger *Logger
Level zapcore.Level
Level zapcore.Level
}
func (w LevelWriter) Write(p []byte) (n int, err error) {