Description

When the logger logs a response with a status code < 200 it is coloured red:

https://github.com/gin-gonic/gin/blob/c2ba8f19ec19914b73290c53a32de479cd463555/logger.go#L81-L95

Http status codes under 200 are informative rather than errors. Would it be better for < 200 to be white?

I notice this with web socket switching: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/101

Comment From: viralparmarme

@maggie44 I've raised a PR for this. Please review and approve it: https://github.com/gin-gonic/gin/pull/3741