Skip to content
Error handler integration for Logrus
Makefile Go
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci
.idea
.editorconfig
.gitignore
.golangci.yml
CHANGELOG.md
LICENSE
Makefile
README.md
go.mod
go.sum
handler.go
handler_test.go

README.md

Logrus handler

CircleCI Go Report Card GolangCI GoDoc

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.

You can’t perform that action at this time.