Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HTTPErrorHandler ¶
func HTTPErrorHandler(l LogProvider) echo.HTTPErrorHandler
HTTPErrorHandler is an error handler with log15 support.
func Logger ¶
func Logger(l LogProvider) echo.MiddlewareFunc
Logger is a logger middleware for log15 package.
Types ¶
type LogProvider ¶
type LogProvider interface { Debug(msg string, ctx ...interface{}) Info(msg string, ctx ...interface{}) Error(msg string, ctx ...interface{}) }
LogProvider provides function required for logging.
Click to show internal directories.
Click to hide internal directories.