Description
As you know, logging in go is a nightmare to deal with. I already have to deal with a bunch of libraries, each using their own logging library.
Instead of logging arbitrarily using your custom echo.Logger (especially in the middleware package), I suggest defining specific Error types that can be handled centrally (using type assertion at the HTTPErrorHandler maybe?).
A good library/framework shouldn't log anything itself, but instead, pipe the error/event up for the user to decide how or whether to log it.
I really love echo, and I know that this is not echo's fault itself (the standard lib without a universal logging interface makes me want to not log anything at all), but I hope that we can avoid logging within our code in the future, and, if possible, remove all the logging in future versions