Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

不太理解这里的handler,如果得到这个handler #3

Open
leighjpeter opened this issue Oct 15, 2019 · 0 comments
Open

不太理解这里的handler,如果得到这个handler #3

leighjpeter opened this issue Oct 15, 2019 · 0 comments

Comments

@leighjpeter
Copy link

hello,请教一下

不太理解这里的handler,如果得到这个handler

// 请求结束的时候记录
duration := fmt.Sprintf("%fms", float64(time.Now().Sub(sTime).Nanoseconds()) / 1000000.0)
handler.Tracef(c.Request.Context(), logger.DLTagRequestOut,
	"proc_time=%s||response=%s",
	duration,
	blw.body.String())
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant