This commit is contained in:
Liang Ding 2014-12-15 15:51:51 +08:00
parent af3b48fe89
commit 471312735d
1 changed files with 1 additions and 1 deletions

View File

@ -398,7 +398,7 @@ func stopwatch(handler func(w http.ResponseWriter, r *http.Request)) func(w http
start := time.Now()
defer func() {
logger.Tracef("[%s, %s, %s]", r.RequestURI, time.Since(start), r.Method)
logger.Tracef("[%s, %s, %s]", r.Method, r.RequestURI, time.Since(start))
}()
handler(w, r)