lib/log4r_adapter.rb in slf4r-0.3.0 vs lib/log4r_adapter.rb in slf4r-0.3.1
- old
+ new
@@ -2,10 +2,10 @@
class Logger
def initialize(_fullname, _level=nil, _additive=true, _trace=false)
@logger = ::Slf4r::LoggerFacade.new(_fullname)
end
-
+
def method_missing(method, *args, &block)
@logger.send(method, *args, &block) if @logger.respond_to?(method)
end
def respend_to?(method)