mirror of
https://github.com/duanhf2012/origin.git
synced 2026-02-04 06:54:45 +08:00
优化日志深度
This commit is contained in:
@@ -113,7 +113,7 @@ func (slf *LogModule) Printf(level uint, format string, v ...interface{}) {
|
||||
var file string
|
||||
var line int
|
||||
var ok bool
|
||||
_, file, line, ok = runtime.Caller(1)
|
||||
_, file, line, ok = runtime.Caller(3)
|
||||
if !ok {
|
||||
file = "???"
|
||||
line = 0
|
||||
|
||||
Reference in New Issue
Block a user