You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// https://github.com/gofiber/fiber/blob/master/middleware/logger/logger.go#L177// Default output when no custom Format or io.Writer is givenifcfg.enableColors {}
Thanks for opening your first issue here! 馃帀 Be sure to follow the issue template! If you need help or want to chat with us, join us on Discord https://gofiber.io/discord
Fiber version
github.com/gofiber/fiber/v2 v2.22.0
Issue description
because of https://github.com/gofiber/fiber/blob/master/middleware/logger/config.go#L85 if Output == nil and Format contains
${status}
and${method}"
then cfg.enableColors is set to true, which will force the code for no custom format to run:Code snippet
The text was updated successfully, but these errors were encountered: