Skip to content

plutov/echo-logrus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

echo-logrus

Middleware echo-logrus is a logrus logger support for echo.

v3.0 tag supports v3. v4.0 tag supports v4.

Install

go get -u github.com/plutov/echo-logrus

Usage

import package

echologrus "github.com/plutov/echo-logrus"

define new logrus

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

About

Echo middleware to log using logrus pkg

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages