Sha256: 2108f6e789fa8e7da2a8a58904510260d53252ea009447eb3378f1fd0d97fc7a
Contents?: true
Size: 723 Bytes
Versions: 19
Compression:
Stored size: 723 Bytes
Contents
module Raygun module Breadcrumbs BREADCRUMB_LEVELS = [ :debug, :info, :warning, :error, :fatal ] def record_breadcrumb( message: nil, category: '', level: :info, timestamp: Time.now.utc.to_i, metadata: {}, class_name: nil, method_name: nil, line_number: nil ) class_name = class_name || self.class.name Raygun::Breadcrumbs::Store.record( message: message, category: category, level: level, timestamp: timestamp, metadata: metadata, class_name: class_name, method_name: method_name, line_number: line_number, ) end end end
Version data entries
19 entries across 19 versions & 1 rubygems