Sha256: b517edc8362ad2acea3d1b335588b901eab98990fa65ff7686f2f8620bfde387

Contents?: true

Size: 304 Bytes

Versions: 1

Compression:

Stored size: 304 Bytes

Contents

# frozen_string_literal: true

require 'logger'

module SiteHealth
  # Don't log anyting / Send the logs to the abyss
  class NullLogger < Logger
    # Allow any and all params
    def initialize(*args); end

    # Allow any and alls params and don't do anyting
    def add(*args, &block); end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
site_health-0.2.0 lib/site_health/null_logger.rb