lib/async/app/event_logger.rb in async-tools-0.2.5 vs lib/async/app/event_logger.rb in async-tools-0.2.6
- old
+ new
@@ -2,10 +2,10 @@
class Async::App::EventLogger
include Async::App::Component
def run
- bus.subscribe(/.*/) do |name, payload|
+ bus.subscribe(/.*/) do |payload, name|
debug { "Event #{name} received. Payload:\n\n#{payload.pretty_inspect}\n" }
end
end
end