Sha256: f152625fa6dfe0216b0090620e5cc7fecabb965e1a6bfc2c6afaed6ee55aa9bc

Contents?: true

Size: 481 Bytes

Versions: 4

Compression:

Stored size: 481 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
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
slf4r-0.3.0 lib/slf4r/noop_logger.rb
slf4r-0.1.1 lib/slf4r/noop_logger.rb
slf4r-0.1.0 lib/slf4r/noop_logger.rb
slf4r-0.2.0 lib/slf4r/noop_logger.rb