meatballhat / negroni-logrus

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

License:MIT License


Languages

Language:Go 100.0%