Sha256: 0db998b09e1a13c598378d5138f24732d7e3f8f52ddd5f47686a41956d4f2daa

Contents?: true

Size: 219 Bytes

Versions: 1

Compression:

Stored size: 219 Bytes

Contents

class Logger

  def initialize(*args)
    @logger = ::Slf4r::LoggerFacade.new(:root)
  end
  
  def method_missing(method, *args, &block)
    @logger.send(method, *args, &block) if @logger.respond_to?(method)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
slf4r-0.1.0 lib/ruby_logger_adapter.rb