forked from mirror/logrus
Updated to use new style of log level.
This commit is contained in:
parent
6d5b58f3d6
commit
2a6183b106
|
@ -49,11 +49,11 @@ func (hook *SyslogHook) Fire(entry *logrus.Entry) error {
|
||||||
|
|
||||||
func (hook *SyslogHook) Levels() []logrus.Level {
|
func (hook *SyslogHook) Levels() []logrus.Level {
|
||||||
return []logrus.Level{
|
return []logrus.Level{
|
||||||
logrus.Panic,
|
logrus.PanicLevel,
|
||||||
logrus.Fatal,
|
logrus.FatalLevel,
|
||||||
logrus.Error,
|
logrus.ErrorLevel,
|
||||||
logrus.Warn,
|
logrus.WarnLevel,
|
||||||
logrus.Info,
|
logrus.InfoLevel,
|
||||||
logrus.Debug,
|
logrus.DebugLevel,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue