Commit 932f8146133ef59e7d64632c4c865b84a4cb65a8

Authored by Marko Tikvić
1 parent 3fffcb954a
Exists in master and in 1 other branch v2

changes to gologger

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
... ... @@ -42,7 +42,7 @@ func Log(h http.HandlerFunc) http.HandlerFunc {
42 42 t1 := time.Now()
43 43 h(w, req)
44 44 t2 := time.Now()
45   - reqLogger.LogResponse(w, t2.Sub(t1))
  45 + reqLogger.LogResponse(w, req, t2.Sub(t1))
46 46 }
47 47 }
48 48  
... ...