From 099b1bffe00aba347076c7f06dcc91210e5e9b15 Mon Sep 17 00:00:00 2001 From: Philip Allen Date: Thu, 21 May 2015 10:28:14 -0400 Subject: [PATCH] removing raygun hook from hooks dir, adding reference in hooks table of main README.md --- README.md | 1 + hooks/raygun/README.md | 18 ------------------ 2 files changed, 1 insertion(+), 18 deletions(-) delete mode 100644 hooks/raygun/README.md 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.