removing raygun hook from hooks dir, adding reference in hooks table of main README.md

This commit is contained in:
Philip Allen 2015-05-21 10:28:14 -04:00
parent 25bb6a1099
commit 099b1bffe0
2 changed files with 1 additions and 18 deletions

View File

@ -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

View File

@ -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.