Is your feature request related to a problem? Please describe.
Yes, the logger is pretty but fails to catch a few cases
Describe the solution you'd like
set the context before logging.
Before returning any function, we are calling the logger (like below code block) but the real juice is being set by context which is being returned but not logged:
registry.logger.log(ctx, err)
return ctx.Json(http.statusBadCode, echo.Map{})
Describe alternatives you've considered
err = ctx.Json(http.statusGoodCode, echo.Map{})
registry.logger.log(ctx, err)
return err
Additional context
Na
Is your feature request related to a problem? Please describe.
Yes, the logger is pretty but fails to catch a few cases
Describe the solution you'd like
set the context before logging.
Before returning any function, we are calling the logger (like below code block) but the real juice is being set by context which is being returned but not logged:
Describe alternatives you've considered
Additional context
Na