def enabled?(level)
      @configuration.appenders.any? do |appender|
        begin
          appender.enabled? level, @context
        rescue
          puts "Failed to check if level #{level} enabled for #{context} with appender #{appender}\n"
          false
        end
      end
    end
def enabled?(level)
      @configuration.appenders.any? do |appender|
        begin
          appender.enabled? level, @context
        rescue
          puts "Failed to check if level #{level} enabled for #{context} with appender #{appender}\n"
          false
        end
      end
    end
Private: Returns true if any of the appenders will log messages for the
 current context at the given level, otherwise returns false.

 level   - The level of the message. One of, in decreasing order of
           severity:

             * fatal
             * error
             * warn
             * info
             * debug

 Writes messages to STDOUT if any appender fails to complete the check.