logrus middleware for negroni
Clone or download
meatballhat Merge pull request #31 from meatballhat/brushoff
Bump tested Go versions + copyright year
Latest commit 3106728 Aug 1, 2017



GoDoc Build Status

logrus middleware for negroni


Take a peek at the basic example or the custom example, the latter of which includes setting a custom log level on the logger with NewCustomMiddleware.

If you want to reuse an already initialized logrus.Logger, you should be using NewMiddlewareFromLogger (see existinglogrus).