mirror of
https://github.com/duanhf2012/origin.git
synced 2026-02-03 22:45:13 +08:00
优化日志,避免一些变量的逃逸
This commit is contained in:
@@ -167,7 +167,7 @@ func DefaultReportFunction(name string,callNum int,costTime time.Duration,record
|
||||
elem = elem.Next()
|
||||
}
|
||||
|
||||
log.Release(strReport)
|
||||
log.SRelease(strReport)
|
||||
}
|
||||
|
||||
func Report() {
|
||||
|
||||
Reference in New Issue
Block a user