This commit is contained in:
Liang Ding 2014-12-15 15:50:52 +08:00
parent a0b806acca
commit af3b48fe89
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]", r.RequestURI, time.Since(start))
logger.Tracef("[%s, %s, %s]", r.RequestURI, time.Since(start), r.Method)
}()
handler(w, r)