Sha256: b2f737b1ed7d6ab66a099c1a313bfbc462f38bb2cf992a0864928ca420f88b96
Contents?: true
Size: 503 Bytes
Versions: 4
Compression:
Stored size: 503 Bytes
Contents
module Raven module ActiveSupportBreadcrumbs class << self def add(name, started, _finished, _unique_id, data) Raven.breadcrumbs.record do |crumb| crumb.data = data crumb.category = name crumb.timestamp = started.to_i end end def inject ActiveSupport::Notifications.subscribe(/.*/) do |name, started, finished, unique_id, data| add(name, started, finished, unique_id, data) end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems