Skip to content

squirkle/logrus-raygun-hook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

A raygun.io hook for logrus

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages