update log format

This commit is contained in:
engigu
2024-01-13 11:46:56 +08:00
parent 511cdb6106
commit c0241df60c
-1
View File
@@ -23,7 +23,6 @@ func getFuncOutStr(funcStr string) string {
func CallerFormatter(funcStr string, fileStr string) string {
fName := filepath.Base(fileStr)
println(fileStr, funcStr, fName)
funcOut := getFuncOutStr(funcStr)
return fmt.Sprintf(" [%s %s]", fName, funcOut)
}