Open chenxiang105 opened 1 year ago
mac
go version go1.21.0 darwin/arm64
latest
gopkg/util/logger
预期输出实际的logger.CtxInfo 代码所在行数,参考截图中的差异
参考截图
gopkg/util/logger/default.go 55行:ll.logger.Output(3, msg)
issue 描述: 第一个参数calldepth 写死了3,输出log永远都是 "logger.go 55 ***"
期望Fix: 支持customized or default value = 4
No response
Operating System
mac
Go Version
go version go1.21.0 darwin/arm64
Package Version
latest
Affected Packages
gopkg/util/logger
Expected Behavior
预期输出实际的logger.CtxInfo 代码所在行数,参考截图中的差异
Actual Behavior
参考截图
Reproduction Steps
gopkg/util/logger/default.go 55行:ll.logger.Output(3, msg)
issue 描述: 第一个参数calldepth 写死了3,输出log永远都是 "logger.go 55 ***"
期望Fix: 支持customized or default value = 4
Other Information
No response