Sha256: 2c612f95e8f0e5b1d08993756f528d9cbfe065dcb9eaf87f4a44cfa0b5645c46
Contents?: true
Size: 530 Bytes
Versions: 7
Compression:
Stored size: 530 Bytes
Contents
class Logger def initialize(*args) @logger = ::Slf4r::LoggerFacade.new(:root) end def debug(msg, &block) @logger.debug(msg, &block) end def info(msg, &block) @logger.info(msg, &block) end def warn(msg, &block) @logger.warn(msg, &block) end def error(msg, &block) @logger.error(msg, &block) 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
Version data entries
7 entries across 7 versions & 1 rubygems