日志优化
This commit is contained in:
parent
f81facf4cd
commit
5586a4aa4f
@ -225,7 +225,7 @@ func HandleClientReq(args []interface{}) {
|
|||||||
p.(*Player).ProcessTrigger()
|
p.(*Player).ProcessTrigger()
|
||||||
p.(*Player).TeLog("func_exec_time", map[string]interface{}{
|
p.(*Player).TeLog("func_exec_time", map[string]interface{}{
|
||||||
"method_name": m.GetFunc(),
|
"method_name": m.GetFunc(),
|
||||||
"exec_time": time.Since(start),
|
"exec_time": fmt.Sprintf("%v", time.Since(start)),
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user