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