优化日志及config
This commit is contained in:
+6
-3
@@ -91,9 +91,12 @@ func findCaller(skip int) string {
|
||||
if file == "db/hotimedb.go" {
|
||||
file, line = getCaller(skip + i + j)
|
||||
}
|
||||
//if file == "code/makecode.go" {
|
||||
// file, line = getCaller(skip + i + j)
|
||||
//}
|
||||
if file == "code/makecode.go" {
|
||||
file, line = getCaller(skip + i + j)
|
||||
}
|
||||
if strings.Contains(file, "application.go") {
|
||||
file, line = getCaller(skip + i + j)
|
||||
}
|
||||
if j == 5 {
|
||||
break
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user