Skip to content

Commit

Permalink
allow logger to query trace level
Browse files Browse the repository at this point in the history
Signed-off-by: Thom May <thom@chef.io>
  • Loading branch information
Thom May committed Mar 22, 2018
1 parent 9f6f40b commit 6bf78bb
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/mixlib/log/logger.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ module Log
class Logger < ::Logger

include Logging

def trace?; @level <= TRACE; end

#
# === Synopsis
#
Expand Down

0 comments on commit 6bf78bb

Please sign in to comment.