From d70cdce21e9aef489bfc77581685712a22d71dd8 Mon Sep 17 00:00:00 2001 From: Simon Eskildsen Date: Fri, 29 Aug 2014 13:50:40 -0400 Subject: [PATCH] readme: fix examples --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 9cdee85..75a1baa 100644 --- a/README.md +++ b/README.md @@ -81,7 +81,7 @@ func init() { // Use the Airbrake hook to report errors that have Error severity or above to // an exception tracker. You can create custom hooks, see the Hooks section. - log.AddHook(logrus_airbrake.AirbrakeHook) + log.AddHook(&logrus_airbrake.AirbrakeHook{}) // Output to stderr instead of stdout, could also be a file. log.SetOutput(os.Stderr)