method

silence

silence(temporary_level = ERROR)
public

Silences the logger for the duration of the block.