@sentry/core
Version:
Base implementation for all Sentry JavaScript SDKs
10 lines (9 loc) • 406 B
TypeScript
import { Breadcrumb, BreadcrumbHint } from '@sentry/types';
/**
* Records a new breadcrumb which will be attached to future events.
*
* Breadcrumbs will be added to subsequent events to provide more context on
* user's actions prior to an error or crash.
*/
export declare function addBreadcrumb(breadcrumb: Breadcrumb, hint?: BreadcrumbHint): void;
//# sourceMappingURL=breadcrumbs.d.ts.map