Sha256: b550fa392fd03591025f9500e75dabf7f7602b60c0db9955c0b148d7a6d88b1b

Contents?: true

Size: 432 Bytes

Versions: 2

Compression:

Stored size: 432 Bytes

Contents

class LogMethod::BugsnagAfterLog
  def self.call(class_thats_logging_name, method_name, object_id, object_class_name, trace_id, current_actor_id)
    Bugsnag.leave_breadcrumb method_name.to_s[0..29], {
      class: class_thats_logging_name,
      object_id: object_id,
      object_class: object_class_name,
      trace_id: trace_id,
      admin_user_id: current_actor_id
    }, Bugsnag::Breadcrumbs::LOG_BREADCRUMB_TYPE
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
log_method-1.0.0 lib/log_method/bugsnag_after_log.rb
log_method-1.0.0.pre.beta1 lib/log_method/bugsnag_after_log.rb