Sha256: 013a553ed2e276c8dca124f5d406b368c3432ffc3122acf87480799e897d2cd5
Contents?: true
Size: 369 Bytes
Versions: 6
Compression:
Stored size: 369 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
6 entries across 6 versions & 1 rubygems