method

silence

rails latest stable - Class: LoggerSilence

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v5.2.3) is shown here.

silence(temporary_level = Logger::ERROR)
public

Silences the logger for the duration of the block.