Sha256: 26c82e86379c3d1376039cfd7e7e15e1550207b6ae2326c4a693b8a7a0eee559
Contents?: true
Size: 446 Bytes
Versions: 1
Compression:
Stored size: 446 Bytes
Contents
class LogMethod::BugsnagAfterLog def self.call(class_thats_logging_name, method_name, object_id, object_class_name, trace_id, current_actor_id, _log_message) 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
log_method-1.1.0 | lib/log_method/bugsnag_after_log.rb |