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