Error handler using Logur.
go get emperror.dev/handler/logur
package main
import (
"github.com/goph/logur/adapters/logrusadapter"
"github.com/sirupsen/logrus"
logurhandler "emperror.dev/handler/logur"
)
func main() {
logger := logrusadapter.New(logrus.New())
handler := logurhandler.New(logger)
}
When all coding and testing is done, please run the test suite:
make check
The MIT License (MIT). Please see License File for more information.