From 44ead1098680ab766b6fd4cfe69fce99b65dd102 Mon Sep 17 00:00:00 2001 From: Simon Eskildsen Date: Wed, 12 Mar 2014 07:59:22 -0400 Subject: [PATCH] readme: complete hook example --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index c8c2427..a19e39a 100644 --- a/README.md +++ b/README.md @@ -61,6 +61,7 @@ tracking service on `Error`, `Fatal` and `Panic` or info to StatsD. ```go log = logrus.New() +log.Hooks.Add(new(AirbrakeHook)) type AirbrakeHook struct{}