Proper log levels.

This commit is contained in:
Alex Payne 2014-09-13 13:52:24 -07:00
parent dbf7fad1dc
commit ced81183ef
1 changed files with 6 additions and 5 deletions

View File

@ -54,10 +54,11 @@ func (hook *PapertrailHook) Fire(entry *logrus.Entry) error {
// Levels returns the available logging levels.
func (hook *PapertrailHook) Levels() []logrus.Level {
return []logrus.Level{
logrus.Panic,
logrus.Fatal,
logrus.Error,
logrus.Warn,
logrus.Info,
logrus.PanicLevel,
logrus.FatalLevel,
logrus.ErrorLevel,
logrus.WarnLevel,
logrus.InfoLevel,
logrus.DebugLevel,
}
}