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