SentryBreadcrumbCapture

class SentryBreadcrumbCapture(val type: BreadcrumbType = BreadcrumbType.Default) : SentryCapture

Sentry capture type, used when creating Breadcrumbs to add to a Sentry scope for later submission.

Parameters

type

Sentry breadcrumb type. Defaults to BreadcrumbType.Default.

Constructors

Link copied to clipboard
constructor(type: BreadcrumbType = BreadcrumbType.Default)

Properties

Link copied to clipboard

Breadcrumb category. Arbitrary, but some categories change how Sentry renders the breadcrumb.

Link copied to clipboard
open var channel: Channel?

Channel object to automatically populate data from.

Link copied to clipboard

Map of breadcrumb data to provide to the Scope. Supports the typed key syntax used by processMap. This is usually arbitrary data, but some BreadcrumbTypes have special handling for specific keys.

Link copied to clipboard
open var guild: Guild?

Guild object to automatically populate data from.

Link copied to clipboard
var level: SentryLevel?

Breadcrumb severity level.

Link copied to clipboard

Human-readable breadcrumb message. Displayed by Sentry with the whitespace preserved.

Link copied to clipboard
open var role: Role?

Role object to automatically populate data from.

Link copied to clipboard
Link copied to clipboard
open var user: User?

User object to automatically populate data from.

Functions

Link copied to clipboard
fun apply(breadcrumb: Breadcrumb)

A function used internally to apply the data within this Sentry capture to a given Breadcrumb object.

Link copied to clipboard
open override fun getKoin(): Koin

Get the associated Koin instance.