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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user