Skip to content

Commit

Permalink
Merge pull request #1 from deefstes/deefstes-patch-1
Browse files Browse the repository at this point in the history
Added TraceLevel to hook
  • Loading branch information
deefstes authored Sep 16, 2021
2 parents 8d59f34 + 7bb0f29 commit 1277502
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion logrus_lumberjack.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,12 @@ func (hook *LumberjackHook) Fire(entry *logrus.Entry) error {
// Levels returns the available logging levels
func (hook *LumberjackHook) Levels() []logrus.Level {
return []logrus.Level{
logrus.TraceLevel,
logrus.DebugLevel,
logrus.InfoLevel,
logrus.WarnLevel,
logrus.ErrorLevel,
logrus.FatalLevel,
logrus.PanicLevel,
}
}
}

0 comments on commit 1277502

Please sign in to comment.