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.10 lib/euston/null_logger.rb
euston-1.2.10-java lib/euston/null_logger.rb
euston-1.2.9-java lib/euston/null_logger.rb
euston-1.2.9 lib/euston/null_logger.rb
euston-1.2.8 lib/euston/null_logger.rb
euston-1.2.8-java lib/euston/null_logger.rb
euston-1.2.7-java lib/euston/null_logger.rb
euston-1.2.7 lib/euston/null_logger.rb
euston-1.2.6 lib/euston/null_logger.rb
euston-1.2.5-java lib/euston/null_logger.rb
euston-1.2.5 lib/euston/null_logger.rb
euston-1.2.4-java lib/euston/null_logger.rb
euston-1.2.4 lib/euston/null_logger.rb
euston-1.2.3 lib/euston/null_logger.rb
euston-1.2.3-java lib/euston/null_logger.rb
euston-1.2.2 lib/euston/null_logger.rb
euston-1.2.2-java lib/euston/null_logger.rb
euston-1.2.1 lib/euston/null_logger.rb
euston-1.2.1-java lib/euston/null_logger.rb
euston-1.2.0 lib/euston/null_logger.rb