Website JS front end modules
    Preparing search index...

    Interface Breadcrumb

    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.

    interface Breadcrumb {
        data?: { [key: string]: any };
        event_id?: string;
        level?: SeverityLevel;
        message?: string;
        timestamp?: number;
        type?: string;
    }
    Index

    Properties

    data?: { [key: string]: any }

    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.

    event_id?: string

    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.

    message?: string

    If a message is provided, it is rendered as text with all whitespace preserved.

    timestamp?: number

    The format is a numeric (integer or float) value representing the number of seconds that have elapsed since the Unixepoch. Breadcrumbs are most useful when they include a timestamp, as it creates a timeline leading up to an event expection/error.

    The API supports a string as defined in RFC 3339, but the SDKs only support a numeric value for now.

    type?: string

    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.