mirror of
https://github.com/kataras/iris.git
synced 2026-01-11 05:55:57 +00:00
create the new FileServer and HandleDir, deprecate the rest APIBuilder/Party static methods and more
relative: https://github.com/kataras/iris/issues/1283 and removing pongo2 from vendor: https://github.com/kataras/iris/issues/1284 Former-commit-id: 3ec57b349f99faca2b8e36d9f7252db0b6ea080d
This commit is contained in:
@@ -100,6 +100,9 @@ func (l *requestLoggerMiddleware) ServeHTTP(ctx context.Context) {
|
||||
if logFunc := l.config.LogFunc; logFunc != nil {
|
||||
logFunc(endTime, latency, status, ip, method, path, message, headerMessage)
|
||||
return
|
||||
} else if logFuncCtx := l.config.LogFuncCtx; logFuncCtx != nil {
|
||||
logFuncCtx(ctx, latency)
|
||||
return
|
||||
}
|
||||
|
||||
if l.config.Columns {
|
||||
|
||||
Reference in New Issue
Block a user