logrus_syslog / syslog - example should now be valid

This commit is contained in:
Dotan J. Nahum 2015-05-27 14:29:11 +03:00
parent 98a1428efc
commit 05d18c70e2
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"
)