Method: Sentry.add_breadcrumb

Defined in:
lib/sentry-ruby.rb

.add_breadcrumb(breadcrumb, **options) ⇒ Breadcrumb?

Takes an instance of Sentry::Breadcrumb and stores it to the current active scope.

Returns:



319
320
321
322
# File 'lib/sentry-ruby.rb', line 319

def add_breadcrumb(breadcrumb, **options)
  return unless initialized?
  get_current_hub.add_breadcrumb(breadcrumb, **options)
end