lib/async/logger.rb in async-1.26.2 vs lib/async/logger.rb in async-1.27.0
- old
+ new
@@ -22,12 +22,7 @@
require 'console'
require_relative 'task'
module Async
- # @return the current logger, either the active tasks logger, or the global event console logger.
- def self.logger
- if task = Task.current?
- task.logger
- end || Console.logger
- end
+ extend Console
end