diff --git a/README.md b/README.md index 64e4914..3578dea 100644 --- a/README.md +++ b/README.md @@ -211,6 +211,7 @@ func init() { | [Slackrus](https://github.com/johntdyer/slackrus) | Hook for Slack chat. | | [Journalhook](https://github.com/wercker/journalhook) | Hook for logging to `systemd-journald` | | [Graylog](https://github.com/gemnasium/logrus-hooks/tree/master/graylog) | Hook for logging to [Graylog](http://graylog2.org/) | +| [Raygun](https://github.com/squirkle/logrus-raygun-hook) | Hook for logging to [Raygun.io](http://raygun.io/) | #### Level logging diff --git a/hooks/raygun/README.md b/hooks/raygun/README.md deleted file mode 100644 index 83e552b..0000000 --- a/hooks/raygun/README.md +++ /dev/null @@ -1,18 +0,0 @@ -# [logrus-raygun-hook](https://github.com/squirkle/logrus-raygun-hook) -A Raygun.io hook for logrus - -## Usage - -```go -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](https://github.com/SDITools/goraygun) library are **works in progress**. Be aware of the possibility of upcoming improvements/API changes.