Sha256: 16c5bd7a6e63d6d510ecefc720ccd05ccab10ede306d1b7253f32de1a66e4379

Contents?: true

Size: 191 Bytes

Versions: 15

Compression:

Stored size: 191 Bytes

Contents

require "logger"

module InventoryRefresh
  class NullLogger < Logger
    def initialize(*_args)
    end 

    def add(*_args, &_block)
    end 

    def debug?
      false
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
inventory_refresh-0.2.3 lib/inventory_refresh/null_logger.rb
inventory_refresh-0.2.2 lib/inventory_refresh/null_logger.rb
inventory_refresh-0.3.6 lib/inventory_refresh/null_logger.rb
inventory_refresh-0.3.5 lib/inventory_refresh/null_logger.rb
inventory_refresh-0.3.4 lib/inventory_refresh/null_logger.rb
inventory_refresh-0.3.3 lib/inventory_refresh/null_logger.rb
inventory_refresh-0.2.1 lib/inventory_refresh/null_logger.rb
inventory_refresh-0.3.2 lib/inventory_refresh/null_logger.rb
inventory_refresh-0.3.1 lib/inventory_refresh/null_logger.rb
inventory_refresh-0.3.0 lib/inventory_refresh/null_logger.rb
inventory_refresh-0.2.0 lib/inventory_refresh/null_logger.rb
inventory_refresh-0.1.3 lib/inventory_refresh/null_logger.rb
inventory_refresh-0.1.2 lib/inventory_refresh/null_logger.rb
inventory_refresh-0.1.1 lib/inventory_refresh/null_logger.rb
inventory_refresh-0.1.0 lib/inventory_refresh/null_logger.rb