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>
27 lines
No EOL
1,015 B
Text
27 lines
No EOL
1,015 B
Text
import type { ConsoleLevel } from '../types-hoist/instrument';
|
|
interface CaptureConsoleOptions {
|
|
levels: ConsoleLevel[];
|
|
}
|
|
/**
|
|
* Captures calls to the `console` API as logs in Sentry. Requires the `enableLogs` option to be enabled.
|
|
*
|
|
* @experimental This feature is experimental and may be changed or removed in future versions.
|
|
*
|
|
* 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
|
|
*
|
|
* ```ts
|
|
* import * as Sentry from '@sentry/browser';
|
|
*
|
|
* Sentry.init({
|
|
* enableLogs: true,
|
|
* integrations: [Sentry.consoleLoggingIntegration({ levels: ['error', 'warn'] })],
|
|
* });
|
|
* ```
|
|
*/
|
|
export declare const consoleLoggingIntegration: (options?: Partial<CaptureConsoleOptions> | undefined) => import("../types-hoist/integration").Integration;
|
|
export {};
|
|
//# sourceMappingURL=console-integration.d.ts.map |