An adapter for using watermill with logrus logger.
go get github.com/ma-hartma/watermill-logrus-adapter
package main
import (
wla "github.com/ma-hartma/watermill-logrus-adapter"
"github.com/sirupsen/logrus"
)
func main() {
// create a logrus logger instance
log := logrus.New()
// pass the logrus logger instance to NewLogrusLogger
// to get your LoggerAdapter
var logger watermill.LoggerAdapter
logger = wla.NewLogrusLogger(log)
// you can now use the logger with watermill
...
}