method

silence

silence(severity = Logger::ERROR)
public

Silences the logger for the duration of the block.