Class: Async::App::EventLogger
- Inherits:
-
Object
- Object
- Async::App::EventLogger
- Includes:
- Component
- Defined in:
- lib/async/app/event_logger.rb
Instance Method Summary collapse
Methods included from Component
#after_run, included, #init!, #run!, #start!, #stop!
Instance Method Details
#after_init ⇒ Object
6 7 8 9 10 |
# File 'lib/async/app/event_logger.rb', line 6 def after_init bus.subscribe(/.*/) do |payload, name| debug { "Event #{name} received. Payload:\n\n#{payload.pretty_inspect}\n" } end end |