This commit is contained in:
parent
a0b806acca
commit
af3b48fe89
2
main.go
2
main.go
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue