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
commit 6ba91e24c4
1 changed files with 1 additions and 1 deletions

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"
)