lib/lorekeeper/multi_logger.rb in lorekeeper-2.6.1 vs lib/lorekeeper/multi_logger.rb in lorekeeper-2.6.2
- old
+ new
@@ -27,11 +27,11 @@
def fatal(*args, &block); call_loggers(:fatal, *args, &block); end
def write(*args); call_loggers(:write, *args); end
- def respond_to?(method, all_included: false)
- @loggers.all? { |logger| logger.respond_to?(method, all_included) }
+ def respond_to?(method, include_all=false)
+ @loggers.all? { |logger| logger.respond_to?(method, include_all) }
end
def call_loggers(method, *args, &block)
result = @loggers.map do |logger|
logger.public_send(method, *args, &block) if logger.respond_to?(method)