method

silence

silence()
public

Silences the logger for the duration of the block.