Sha256: 6bf36576ce521b3d8bc9058eff24523d07517cdda67ca9a8e71e7a8211fa4a72
Contents?: true
Size: 254 Bytes
Versions: 1
Compression:
Stored size: 254 Bytes
Contents
# frozen_string_literal: true class Async::App::EventLogger include Async::App::Component def after_init bus.subscribe(/.*/) do |payload, name| debug { "Event #{name} received. Payload:\n\n#{payload.pretty_inspect}\n" } end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
async-tools-0.2.10 | lib/async/app/event_logger.rb |