def log_notices(notices=[], level=:warn)
      notices.each do |concern|
        message = concern.delete(:message)
        @logger.send(level, message, redact_sensitive(concern))
      end
    end
def log_notices(notices=[], level=:warn)
      notices.each do |concern|
        message = concern.delete(:message)
        @logger.send(level, message, redact_sensitive(concern))
      end
    end
Log setting or extension loading notices, sensitive information
 is redacted.

 @param notices [Array] to be logged.
 @param level [Symbol] to log the notices at.