Middleware echo-logrus is a logrus logger support for echo.
v3.0
tag supports v3.
v4.0
tag supports v4.
go get -u github.com/plutov/echo-logrus
import package
echologrus "github.com/plutov/echo-logrus"
define new logrus
echologrus.Logger = logrus.New()
e.Logger = echologrus.GetEchoLogger()
e.Use(echologrus.Hook())