mirror of
https://github.com/kataras/iris.git
synced 2025-12-22 12:27:02 +00:00
Update to 8.1.0 - a new logger implemented as a solution for https://github.com/kataras/iris/issues/680
Former-commit-id: 765b43602655fad7f525ca7a5f7f297a6167d075
This commit is contained in:
@@ -46,7 +46,7 @@ func New() context.Handler {
|
||||
logMessage += fmt.Sprintf("At Request: %s\n", getRequestLogs(ctx))
|
||||
logMessage += fmt.Sprintf("Trace: %s\n", err)
|
||||
logMessage += fmt.Sprintf("\n%s", stacktrace)
|
||||
ctx.Application().Logger().Warnln(logMessage)
|
||||
ctx.Application().Logger().Warn(logMessage)
|
||||
|
||||
ctx.StatusCode(500)
|
||||
ctx.StopExecution()
|
||||
|
||||
Reference in New Issue
Block a user