logrus/hooks
Matt Bostock 83a820d91e Rework the Airbrake hook
Rework the Airbrake hook to:

a) change the interface so that the Airbrake credentials are stored in
an unexported struct, `airbrakeHook`, which is instantiated using the
`NewHook()` method

b) send log entries where no 'error' field is set to Airbrake, using the
`entry.Message` string as the message sent to Airbrake but continue to
allow the passing of error types using the 'error' field

Update the tests accordingly, assuring that the correct message is
received by the Airbrake server.

Also update the examples in the README, which would not have worked with
the previous implementation of the Airbrake hook.
2015-03-15 16:26:24 +00:00
..
airbrake Rework the Airbrake hook 2015-03-15 16:26:24 +00:00
papertrail Update papertrail.go 2014-12-19 21:11:58 +08:00
sentry fix Second const 2015-03-02 16:25:19 +05:00
syslog Update README.md - changed conflicting imports 2014-12-05 11:00:48 +01:00