Golang Loggers mapper for Logrus.
See https://gopkg.in/birkirb/loggers.v1
go get github.com/birkirb/loggers-mapper-logrus
Assuming you are using loggers in your code, and you want to use logrus as your logger implementation. Start by configuring your logrus, and then pass it to the mapper and assign it to your loggers interface (embedded use) or the log.Logger (direct package).
package main
import (
"os"
"github.com/sirupsen/logrus"
"gopkg.in/birkirb/loggers.v1"
mapper "github.com/birkirb/loggers-mapper-logrus/"
)
// Log is my default logger.
var Log loggers.Contextual
func main() {
l := logrus.New()
l.Out = os.Stdout
l.Level = logrus.InfoLevel
m := mapper.NewLogger(l)
Log = &m
Log.Info("My program has started")
}