Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 592 Bytes

README.md

File metadata and controls

33 lines (22 loc) · 592 Bytes

Deprecated. we are using hexa to echo logger converter in hexa-echo package.

elogrus

Middleware elogrus is a logrus logger support for echo.

v4.0 tag supports v4.

Install

go get -u github.com/kamva/elogrus/v4

Usage

import package

import "github.com/kamva/elogrus/v4"

define new logrus

e.Logger = elogrus.GetEchoLogger(logrus.New())
e.Use(elogrus.Hook())

TODO:

  • Write tests
  • CI
  • Set badges on README