module Sentry::Rails::Breadcrumb::ActiveSupportLogger
def add(name, started, _finished, _unique_id, data)
Experimental RBS support (using type sampling data from the type_fusion
project).
def add: (String name, Time started, Time _finished, String _unique_id, Hash data) -> untyped
This signature was generated using 1 sample from 1 application.
def add(name, started, _finished, _unique_id, data) # skip Rails' internal events return if name.start_with?("!") allowed_keys = ALLOWED_LIST[name] if data.is_a?(Hash) data = data.slice(*allowed_keys) end crumb = Sentry::Breadcrumb.new( data: data, category: name, timestamp: started.to_i ) Sentry.add_breadcrumb(crumb) end