method

silence

silence(temporary_level = Logger::ERROR)
public

Silences the logger for the duration of the block.