Next.js website for Rocky Mountain Vending company featuring: - Product catalog with Stripe integration - Service areas and parts pages - Admin dashboard with Clerk authentication - SEO optimized pages with JSON-LD structured data Co-authored-by: Cursor <cursoragent@cursor.com>
28 lines
947 B
Text
28 lines
947 B
Text
import { ConsoleLevel } from '../types-hoist/instrument';
|
|
interface ConsoleIntegrationOptions {
|
|
levels: ConsoleLevel[];
|
|
}
|
|
/**
|
|
* Captures calls to the `console` API as breadcrumbs in Sentry.
|
|
*
|
|
* By default the integration instruments `console.debug`, `console.info`, `console.warn`, `console.error`,
|
|
* `console.log`, `console.trace`, and `console.assert`. You can use the `levels` option to customize which
|
|
* levels are captured.
|
|
*
|
|
* @example
|
|
*
|
|
* ```js
|
|
* Sentry.init({
|
|
* integrations: [Sentry.consoleIntegration({ levels: ['error', 'warn'] })],
|
|
* });
|
|
* ```
|
|
*/
|
|
export declare const consoleIntegration: (options?: Partial<ConsoleIntegrationOptions> | undefined) => import("..").Integration;
|
|
/**
|
|
* Capture a console breadcrumb.
|
|
*
|
|
* Exported just for tests.
|
|
*/
|
|
export declare function addConsoleBreadcrumb(level: ConsoleLevel, args: unknown[]): void;
|
|
export {};
|
|
//# sourceMappingURL=console.d.ts.map
|