Merge pull request #189 from jondot/patch-1

logrus_syslog / syslog - example should now be valid
This commit is contained in:
Simon Eskildsen
2015-05-27 09:39:09 -04:00
+1 -1
View File
@@ -183,7 +183,7 @@ Logrus comes with [built-in hooks](hooks/). Add those, or your custom hook, in
import (
log "github.com/Sirupsen/logrus"
"github.com/Sirupsen/logrus/hooks/airbrake"
"github.com/Sirupsen/logrus/hooks/syslog"
logrus_syslog "github.com/Sirupsen/logrus/hooks/syslog"
"log/syslog"
)