mirror of https://github.com/sirupsen/logrus.git
d97bbff05e | ||
---|---|---|
.. | ||
README.md |
README.md
logrus-raygun-hook
A Raygun.io hook for logrus
Usage
import (
log "github.com/Sirupsen/logrus"
"github.com/squirkle/logrus-raygun-hook"
)
func init() {
log.AddHook(raygun.NewHook("https://api.raygun.io/entries", "yourApiKey", true))
}
Project status
Both this logrus hook and the goraygun library are works in progress. Be aware of the possibility of upcoming improvements/API changes.