Logrus handler
Error handler integration for Logrus.
Installation
go get emperror.dev/handler/logrus
Usage
package main
import (
"github.com/sirupsen/logrus"
logrushandler "emperror.dev/handler/logrus"
)
func main() {
logger := logrus.New()
handler := logrushandler.New(logger)
}
Development
When all coding and testing is done, please run the test suite:
$ make check
License
The MIT License (MIT). Please see License File for more information.