gofmt middleware.go
CI / go-lint (push) Has been skipped
CI / python-lint (push) Has been skipped
CI / nodejs-lint (push) Has been skipped
CI / test-go-school (push) Successful in 40s
CI / test-go-edu-search (push) Successful in 30s
CI / test-python-klausur (push) Failing after 2m27s
CI / test-python-agent-core (push) Successful in 19s
CI / test-nodejs-website (push) Successful in 22s
CI / go-lint (push) Has been skipped
CI / python-lint (push) Has been skipped
CI / nodejs-lint (push) Has been skipped
CI / test-go-school (push) Successful in 40s
CI / test-go-edu-search (push) Successful in 30s
CI / test-python-klausur (push) Failing after 2m27s
CI / test-python-agent-core (push) Successful in 19s
CI / test-nodejs-website (push) Successful in 22s
This commit is contained in:
@@ -54,7 +54,7 @@ func RequestLogger() gin.HandlerFunc {
|
|||||||
if status >= 400 {
|
if status >= 400 {
|
||||||
gin.DefaultWriter.Write([]byte(
|
gin.DefaultWriter.Write([]byte(
|
||||||
c.Request.Method + " " + path + " " +
|
c.Request.Method + " " + path + " " +
|
||||||
http.StatusText(status) + " " + latency.String() + "\n",
|
http.StatusText(status) + " " + latency.String() + "\n",
|
||||||
))
|
))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user