import { type Breadcrumb } from "https://deno.land/x/sentry@8.39.0-beta.0/index.d.ts";
Sentry uses breadcrumbs to create a trail of events that happened prior to an issue. These events are very similar to traditional logs but can record more rich structured data.
Properties
By default, all breadcrumbs are recorded as default, which makes them appear as a Debug entry, but Sentry provides other types that influence how the breadcrumbs are rendered. For more information, see the description of recognized breadcrumb types.
Allowed values are, from highest to lowest:
fatal
, error
, warning
, info
, and debug
.
Levels are used in the UI to emphasize and deemphasize the crumb. The default is info
.
Typically it is a module name or a descriptive string. For instance, ui.click
could be used to
indicate that a click happened in the UI or flask could be used to indicate that the event originated in
the Flask framework.
If a message is provided, it is rendered as text with all whitespace preserved.
Contains a dictionary whose contents depend on the breadcrumb type. Additional parameters that are unsupported by the type are rendered as a key/value table.