Sha256: b14ec75f433c9c839daa47512ad4393543121b30ed7378d51d5dd72331d647ba

Contents?: true

Size: 171 Bytes

Versions: 2

Compression:

Stored size: 171 Bytes

Contents

require 'logger'

module Dk

  class NullLogger

    ::Logger::Severity.constants.each do |name|
      define_method(name.downcase){ |*args| } # no-op
    end

  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
dk-0.1.1 lib/dk/null_logger.rb
dk-0.1.0 lib/dk/null_logger.rb