lib/lorekeeper/multi_logger.rb in lorekeeper-2.3.0 vs lib/lorekeeper/multi_logger.rb in lorekeeper-2.3.1

- old
+ new

@@ -17,26 +17,16 @@ end # Define all common logging methods within Multilogger to avoid NoMethodError def debug(*args, &block); call_loggers(:debug, *args, &block); end - def debug_with_data(*args, &block); call_loggers(:debug, *args, &block); end - def info(*args, &block); call_loggers(:info, *args, &block); end - def info_with_data(*args, &block); call_loggers(:info, *args, &block); end - def warn(*args, &block); call_loggers(:warn, *args, &block); end - def warn_with_data(*args, &block); call_loggers(:warn, *args, &block); end - def error(*args, &block); call_loggers(:error, *args, &block); end - def error_with_data(*args, &block); call_loggers(:error, *args, &block); end - def fatal(*args, &block); call_loggers(:fatal, *args, &block); end - - def fatal_with_data(*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) }