Sha256: 20b79de3f40c95aa8ea6086f7f61c75634520cba2cc020a334b4c986159be07d
Contents?: true
Size: 280 Bytes
Versions: 3
Compression:
Stored size: 280 Bytes
Contents
ActiveSupport::Notifications.subscribe do |*args| event = ActiveSupport::Notifications::Event.new(*args) next if event.payload[:exception] Harness::Timer.from_event(event).log if event.payload[:timer] Harness::Counter.from_event(event).log if event.payload[:counter] end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
harness-1.0.2 | lib/harness/subscription.rb |
harness-1.0.1 | lib/harness/subscription.rb |
harness-1.0.0 | lib/harness/subscription.rb |