Module: Raven::OldBreadcrumbLogger

Defined in:
lib/raven/breadcrumbs/logger.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.included(base) ⇒ Object



74
75
76
77
78
79
80
# File 'lib/raven/breadcrumbs/logger.rb', line 74

def self.included(base)
  base.class_eval do
    include Raven::BreadcrumbLogger
    alias_method :add_without_raven, :add
    alias_method :add, :add_with_raven
  end
end

Instance Method Details

#add_with_raven(*args) ⇒ Object



82
83
84
85
# File 'lib/raven/breadcrumbs/logger.rb', line 82

def add_with_raven(*args)
  add_breadcrumb(*args)
  add_without_raven(*args)
end