日志修正

This commit is contained in:
kercylan98 2023-04-19 19:54:25 +08:00
parent 938441ee3e
commit 5a3f4ec0a1
1 changed files with 1 additions and 1 deletions

View File

@ -65,7 +65,7 @@ func newLogger() *zap.Logger {
) )
} }
return zap.New(cores, zap.AddCaller()) return zap.New(cores, zap.AddCaller(), zap.AddCallerSkip(1))
} }
func getWriter(filename string, times int32) io.Writer { func getWriter(filename string, times int32) io.Writer {