Sha256: 7fd75150959a04b75a39904ee24e59b1a00bc1dbdf0acf0f8e211437fe255251

Contents?: true

Size: 391 Bytes

Versions: 25

Compression:

Stored size: 391 Bytes

Contents

# extracted from Rack
# https://github.com/rack/rack/blob/master/lib/rack/nulllogger.rb

require 'singleton'

module Euston
  class NullLogger
    include Singleton

    def info(progname = nil, &block);  end
    def debug(progname = nil, &block); end
    def warn(progname = nil, &block);  end
    def error(progname = nil, &block); end
    def fatal(progname = nil, &block); end
  end
end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
euston-1.2.0-java lib/euston/null_logger.rb
euston-1.1.0 lib/euston/null_logger.rb
euston-1.1.0-java lib/euston/null_logger.rb
euston-1.0.1 lib/euston/null_logger.rb
euston-1.0.1-java lib/euston/null_logger.rb