Skip to content

logur/adapter-logrus

Repository files navigation

Logur adapter for Logrus

GitHub Workflow Status Codecov Go Report Card Go Version go.dev reference

Installation

go get logur.dev/adapter/logrus

Usage

package main

import (
	"github.com/sirupsen/logrus"
	logrusadapter "logur.dev/adapter/logrus"
)

func main() {
	logger := logrusadapter.New(logrus.New())
}

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.