Proper log levels.
This commit is contained in:
@@ -54,10 +54,11 @@ func (hook *PapertrailHook) Fire(entry *logrus.Entry) error {
|
|||||||
// Levels returns the available logging levels.
|
// Levels returns the available logging levels.
|
||||||
func (hook *PapertrailHook) Levels() []logrus.Level {
|
func (hook *PapertrailHook) 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.DebugLevel,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user