| commit | d70cdce21e9aef489bfc77581685712a22d71dd8 | [log] [tgz] |
|---|---|---|
| author | Simon Eskildsen <sirup@sirupsen.com> | Fri Aug 29 13:50:40 2014 -0400 |
| committer | Simon Eskildsen <sirup@sirupsen.com> | Fri Aug 29 13:51:19 2014 -0400 |
| tree | fe55bab417cf8a790de6b7d2d9adeef9f943bc08 | |
| parent | c13432b0a52fa22ed08301e522a0bdb2ce0e2d40 [diff] |
readme: fix examples
diff --git a/README.md b/README.md index 9cdee85..75a1baa 100644 --- a/README.md +++ b/README.md
@@ -81,7 +81,7 @@ // 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)