Sha256: cb0bfffdcc3ea0d38a6f77689f87ae3f9e2becb02a49293d9eeb2271e4cd7243

Contents?: true

Size: 139 Bytes

Versions: 3

Compression:

Stored size: 139 Bytes

Contents

module ScanSuppressingLogger
  class RailsWrapper
    def self.call
      Rails.logger.silence do
        yield
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
scan-suppressing-logger-0.1.0 lib/scan_suppressing_logger/rails_wrapper.rb
scan-suppressing-logger-0.1.0.pre.alpha2 lib/scan_suppressing_logger/rails_wrapper.rb
scan-suppressing-logger-0.1.0.pre.alpha1 lib/scan_suppressing_logger/rails_wrapper.rb