before macaron

This commit is contained in:
Torkel Ödegaard
2014-10-05 15:34:24 +02:00
parent a4204880e8
commit 2c72831be1
4 changed files with 10 additions and 11 deletions
+1 -2
View File
@@ -53,11 +53,10 @@ func apiLogger() gin.HandlerFunc {
end := time.Now()
latency := end.Sub(start)
log.Info("[http] %s %s %3d %12v %s %s",
log.Info("[http] %s %s %3d %12v %s",
c.Request.Method, c.Request.URL.Path,
code,
latency,
requester,
c.Errors.String(),
)
}