1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-23 12:57:05 +00:00

Update to version 12.1.4

Former-commit-id: aeb039ea25a831ad1087b1994be97b349a8ed4aa
This commit is contained in:
Gerasimos (Makis) Maropoulos
2019-12-29 19:14:41 +02:00
parent a30fe26095
commit 269b832ade
16 changed files with 30 additions and 20 deletions

View File

@@ -120,7 +120,13 @@ func (l *requestLoggerMiddleware) ServeHTTP(ctx context.Context) {
if headerMessage != nil {
line += fmt.Sprintf(" %v", headerMessage)
}
// if context.StatusCodeNotSuccessful(ctx.GetStatusCode()) {
// ctx.Application().Logger().Warn(line)
// } else {
ctx.Application().Logger().Info(line)
// }
}
// Columnize formats the given arguments as columns and returns the formatted output,