Updated to use new style of log level.

This commit is contained in:
Didip Kerabat 2014-07-27 22:43:21 -07:00
parent 6d5b58f3d6
commit 2a6183b106
1 changed files with 6 additions and 6 deletions

View File

@ -49,11 +49,11 @@ func (hook *SyslogHook) Fire(entry *logrus.Entry) error {
func (hook *SyslogHook) Levels() []logrus.Level {
return []logrus.Level{
logrus.Panic,
logrus.Fatal,
logrus.Error,
logrus.Warn,
logrus.Info,
logrus.Debug,
logrus.PanicLevel,
logrus.FatalLevel,
logrus.ErrorLevel,
logrus.WarnLevel,
logrus.InfoLevel,
logrus.DebugLevel,
}
}