|
|
|
@ -185,6 +185,7 @@ func SetContextInfo(ctx context.Context, funcName string, logLevel logrus.Level,
|
|
|
|
|
if len(i) > 3 {
|
|
|
|
|
file = i[len(i)-3] + i[len(i)-2] + i[len(i)-1] + ":" + utils.IntToString(line)
|
|
|
|
|
}
|
|
|
|
|
fmt.Println(funcInfo.FuncName, "file", s, file)
|
|
|
|
|
funcInfo.File = s
|
|
|
|
|
*t.Funcs = append(*t.Funcs, funcInfo)
|
|
|
|
|
}
|
|
|
|
|