|
@@ -142,7 +142,7 @@ func CurrFuncName() string { // nㅣl 아님 경우만 처리(!!중요)
|
|
|
n := runtime.Callers(2, pc)
|
|
|
frames := runtime.CallersFrames(pc[:n])
|
|
|
frame, _ := frames.Next()
|
|
|
- fmt.Printf("ErrPath: %s:%d %s\n", frame.File, frame.Line, frame.Function)
|
|
|
+ fmt.Printf("FuncPath: %s:%d %s\n", frame.File, frame.Line, frame.Function)
|
|
|
// fmt.Println("Lastindex:", s[strings.LastIndex(s, "/")+1:])
|
|
|
s := frame.Function
|
|
|
return s[strings.LastIndex(s, "/")+1:] + " "
|