Sha256: 9292cde1c3c974cfb270fbb09b8fb8532029cfb345e61bf6f3d722abdb01b24f

Contents?: true

Size: 563 Bytes

Versions: 6

Compression:

Stored size: 563 Bytes

Contents

module Slf4r
  class LoggerFacade

    def initialize(name)
      @name = name
    end

    public

    attr_reader :name

    def debug?
      false
    end

    def debug(msg = nil, exception = nil)
    end

    def info?
      false
    end

    def info(msg = nil, exception = nil)
    end

    def warn?
      false
    end

    def warn(msg = nil, exception = nil)
    end

    def error?
      false
    end

    def error(msg = nil, exception = nil)
    end

    def fatal?
      false
    end

    def fatal(msg = nil, exception = nil)
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
slf4r-0.4.2 lib/slf4r/noop_logger.rb
slf4r-0.4.1 lib/slf4r/noop_logger.rb
slf4r-0.4.0 lib/slf4r/noop_logger.rb
slf4r-0.3.3 lib/slf4r/noop_logger.rb
slf4r-0.3.2 lib/slf4r/noop_logger.rb
slf4r-0.3.1 lib/slf4r/noop_logger.rb