lib/log4r_adapter.rb in slf4r-0.2.0 vs lib/log4r_adapter.rb in slf4r-0.3.0
- old
+ new
@@ -6,7 +6,11 @@
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