Skip to content
This repository was archived by the owner on Feb 1, 2021. It is now read-only.

Latest commit

 

History

History
15 lines (10 loc) · 743 Bytes

File metadata and controls

15 lines (10 loc) · 743 Bytes

negroni-logrus

PkgGoDev Main Workflow Status

logrus middleware for negroni

Usage

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).