UNPKG

615 BTypeScriptView Raw
1import { EventProcessor, Hub, Integration } from '@sentry/types';
2/** Send Console API calls as Sentry Events */
3export declare class CaptureConsole implements Integration {
4 /**
5 * @inheritDoc
6 */
7 static id: string;
8 /**
9 * @inheritDoc
10 */
11 name: string;
12 /**
13 * @inheritDoc
14 */
15 private readonly _levels;
16 /**
17 * @inheritDoc
18 */
19 constructor(options?: {
20 levels?: string[];
21 });
22 /**
23 * @inheritDoc
24 */
25 setupOnce(_: (callback: EventProcessor) => void, getCurrentHub: () => Hub): void;
26}
27//# sourceMappingURL=captureconsole.d.ts.map
\No newline at end of file