lib/submodules/ably-ruby/lib/ably/modules/safe_yield.rb in ably-rest-1.0.5 vs lib/submodules/ably-ruby/lib/ably/modules/safe_yield.rb in ably-rest-1.0.6

- old
+ new

@@ -27,10 +27,10 @@ fallback_logger.error message end def fallback_logger @fallback_logger ||= ::Logger.new(STDOUT).tap do |logger| - logger.formatter = proc do |severity, datetime, progname, msg| + logger.formatter = lambda do |severity, datetime, progname, msg| [ "#{datetime.strftime("%Y-%m-%d %H:%M:%S.%L")} #{::Logger::SEV_LABEL[severity]} #{msg}", "Warning: SafeYield expects the method #logger to be defined in the class it is included in, the method was not found in #{self.class}" ].join("\n") end