Skip to content

Latest commit

 

History

History
18 lines (14 loc) · 468 Bytes

README.md

File metadata and controls

18 lines (14 loc) · 468 Bytes

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", "development"))
}

Project status

Both this logrus hook and the goraygun library are works in progress. Be aware of the possibility of upcoming improvements/API changes.