SentryEvent

Represents an event that is sent to Sentry.

Constructors

Link copied to clipboard
expect constructor()

Functions

Link copied to clipboard
fun addBreadcrumb(breadcrumb: Breadcrumb)
fun addBreadcrumb(message: String?)
Link copied to clipboard
fun getTag(key: String): String?
Link copied to clipboard
fun removeTag(key: String)
Link copied to clipboard
fun setTag(key: String, value: String)

Properties

Link copied to clipboard

A mutable map of breadcrumbs that led to this event.

Link copied to clipboard

The event contexts describing the environment (e.g. device, os or browser).

Link copied to clipboard
open var dist: String?

The event distribution. Think about it together with release and environment

Link copied to clipboard
open var environment: String?

The event environment.

Link copied to clipboard
open var eventId: SentryId

The Sentry event ID.

Link copied to clipboard

One or multiple chained (nested) exceptions.

Link copied to clipboard

Manual fingerprint override.

Link copied to clipboard
expect var level: SentryLevel?

Severity level of the event.

Link copied to clipboard
expect var logger: String?

Logger that created the event.

Link copied to clipboard
expect var message: Message?

The event message.

Link copied to clipboard
open var platform: String?

The event platform identifier.

Link copied to clipboard
open var release: String?

The event release.

Link copied to clipboard
open var serverName: String?

Server or device name the event was generated on.

Link copied to clipboard

A mutable map of custom tags for this event where each tag must be less than 200 characters.

Link copied to clipboard
open var user: User?

Information about the user who triggered this event.