diff options
author | Thom May <thom@chef.io> | 2018-04-11 14:23:25 +0100 |
---|---|---|
committer | Thom May <thom@chef.io> | 2018-04-11 14:23:25 +0100 |
commit | 23e5b6782725f646ad40bdc38b5ece50bf044534 (patch) | |
tree | 8f4f40385581eb01785daa178b21d89eac261785 /lib/mixlib/authentication/null_logger.rb | |
parent | a2fbf74d0b2123b9cc28e3baf7ca81b061036635 (diff) | |
download | mixlib-authentication-tm/logging.tar.gz |
Move mixlib-auth debugging to trace leveltm/logging
Signed-off-by: Thom May <thom@chef.io>
Diffstat (limited to 'lib/mixlib/authentication/null_logger.rb')
-rw-r--r-- | lib/mixlib/authentication/null_logger.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/mixlib/authentication/null_logger.rb b/lib/mixlib/authentication/null_logger.rb index 2bc9e31..579b1e2 100644 --- a/lib/mixlib/authentication/null_logger.rb +++ b/lib/mixlib/authentication/null_logger.rb @@ -4,7 +4,7 @@ module Mixlib attr_accessor :level - %i{debug info warn error fatal}.each do |method_name| + %i{trace debug info warn error fatal}.each do |method_name| class_eval(<<-METHOD_DEFN, __FILE__, __LINE__) def #{method_name}(msg=nil, &block) true @@ -12,7 +12,7 @@ module Mixlib METHOD_DEFN end - %i{debug? info? warn? error? fatal?}.each do |method_name| + %i{trace? debug? info? warn? error? fatal?}.each do |method_name| class_eval(<<-METHOD_DEFN, __FILE__, __LINE__) def #{method_name} false |