Sha256: 7b24a48ae83428c0a80a1b3997a3942d6911db23eb7a4c947cc6ac42ae60a9d4
Contents?: true
Size: 483 Bytes
Versions: 3
Compression:
Stored size: 483 Bytes
Contents
module Sentry class Breadcrumb attr_accessor :category, :data, :message, :level, :timestamp, :type def initialize @category = nil @data = {} @level = nil @message = nil @timestamp = Time.now.to_i @type = nil end def to_hash { :category => @category, :data => @data, :level => @level, :message => @message, :timestamp => @timestamp, :type => @type } end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
sentry-ruby-0.1.3 | lib/sentry/breadcrumb.rb |
sentry-ruby-0.1.2 | lib/sentry/breadcrumb.rb |
sentry-ruby-0.1.1 | lib/sentry/breadcrumb.rb |