vendor/rails/activesupport/lib/active_support/clean_logger.rb
# Silences the logger for the duration of the block.
Silences the logger for the duration of the block.
Silences the logger for the duration of the block .
def silence(temporary_level = Logger::ERROR)
    if silencer
      begin
        old_logger_level, self.level = level, temporary_level
        yield self
      ensure
        self.level = old_logger_level
      end
    else
      yield self
    end
  end
def silence ( temporary_level = Logger :: ERROR ) if silencer begin old_logger_level , self . level = level , temporary_level yield self ensure self . level = old_logger_level end else yield self end end
Silences the logger for the duration of the block.
Silences the logger for the duration of the block .
temporary_level
<not_specific>