func (l *EchoLogrus) Output() io.Writer {
	return l.Out
}
Output logger output func
package logruskit
import (
	"io"
	"github.com/labstack/echo/v4"
	"github.com/labstack/gommon/log"
	"github.com/sirupsen/logrus"
)
type (
	EchoLogrus struct {
		*logrus.Logger
		prefix string
	}
)
var _ (echo.Logger) = (*EchoLogrus)(nil)
func EchoLogger(logger *logrus.Logger) *EchoLogrus {
	return &EchoLogrus{
		Logger: logger,
	}
}
func (l *EchoLogrus) SetHeader(string) {}
func (l *EchoLogrus) SetPrefix(prefix string) {
	l.prefix = prefix
}
func (l *EchoLogrus) Prefix() string {
	return l.prefix
}
func (l *EchoLogrus) SetLevel(lvl log.Lvl) {
	switch lvl {
	case log.DEBUG:
		l.Logger.SetLevel(logrus.DebugLevel)
	case log.WARN:
		l.Logger.SetLevel(logrus.WarnLevel)
	case log.ERROR:
		l.Logger.SetLevel(logrus.ErrorLevel)
	case log.INFO:
		l.Logger.SetLevel(logrus.InfoLevel)
	default:
		logrus.Warnf("Unknown level: %v", lvl)
		l.Logger.SetLevel(logrus.WarnLevel)
	}
}
func (l *EchoLogrus) Level() log.Lvl {
	switch l.Logger.Level {
	case logrus.DebugLevel:
		return log.DEBUG
	case logrus.WarnLevel:
		return log.WARN
	case logrus.ErrorLevel:
		return log.ERROR
	case logrus.InfoLevel:
		return log.INFO
	}
	return log.WARN
}