Sha256: 9f8f197e814032c2d48c6c0e4426e22b500a48bde36e541772ad586a800d3fe2
Contents?: true
Size: 373 Bytes
Versions: 1
Compression:
Stored size: 373 Bytes
Contents
module Logging class Logger def initialize(name) @logger = ::Slf4r::LoggerFacade.new(name) end class << self alias :[] :new end def method_missing(method, *args, &block) @logger.send(method, *args, &block) if @logger.respond_to?(method) end def respend_to?(method) @logger.respond_to?(method) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
slf4r-0.3.0 | lib/logging_adapter.rb |