class Sentry::Breadcrumb

def initialize(category: nil, data: nil, message: nil, timestamp: nil, level: nil, type: nil)

Experimental RBS support (using type sampling data from the type_fusion project).

def initialize: (category: String, data: Hash?, message: String?, timestamp: Integer?, level: String?, type: String?) -> void

This signature was generated using 5 samples from 1 application.

Parameters:
  • type (String, nil) --
  • level (String, nil) --
  • timestamp (Time, Integer, nil) --
  • message (String, nil) --
  • data (Hash, nil) --
  • category (String, nil) --
def initialize(category: nil, data: nil, message: nil, timestamp: nil, level: nil, type: nil)
  @category = category
  @data = data || {}
  @level = level
  @timestamp = timestamp || Sentry.utc_now.to_i
  @type = type
  self.message = message
end