1
0
mirror of https://github.com/kataras/iris.git synced 2025-12-20 03:17:04 +00:00

update golog dependency

Former-commit-id: 304d3a25f41a2cf4f8f59964ce454d66be8b06c7
This commit is contained in:
Gerasimos (Makis) Maropoulos
2020-06-09 10:09:04 +03:00
parent 2c39828fe2
commit caa2545e3b
3 changed files with 7 additions and 4 deletions

View File

@@ -112,7 +112,7 @@ func (l *requestLoggerMiddleware) ServeHTTP(ctx context.Context) {
if l.config.Columns {
endTimeFormatted := endTime.Format("2006/01/02 - 15:04:05")
output := Columnize(endTimeFormatted, latency, status, ip, method, path, message, headerMessage)
_, _ = ctx.Application().Logger().Printer.Output.Write([]byte(output))
_, _ = ctx.Application().Logger().Printer.Write([]byte(output))
return
}
// no new line, the framework's logger is responsible how to render each log.