This commit is contained in:
parent
af3b48fe89
commit
471312735d
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()
|
start := time.Now()
|
||||||
|
|
||||||
defer func() {
|
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)
|
handler(w, r)
|
||||||
|
|
Loading…
Reference in New Issue