method

silence

rails latest stable - Class: ActiveSupport::BufferedLogger

Method deprecated or moved

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

silence(temporary_level = ERROR)
public

Silences the logger for the duration of the block.