@sentry/integrations
Version:
Pluggable integrations that can be used to enhance JS SDKs
27 lines • 620 B
TypeScript
import type { EventProcessor, Hub, Integration } from '@sentry/types';
/** Send Console API calls as Sentry Events */
export declare class CaptureConsole implements Integration {
/**
* @inheritDoc
*/
static id: string;
/**
* @inheritDoc
*/
name: string;
/**
* @inheritDoc
*/
private readonly _levels;
/**
* @inheritDoc
*/
constructor(options?: {
levels?: string[];
});
/**
* @inheritDoc
*/
setupOnce(_: (callback: EventProcessor) => void, getCurrentHub: () => Hub): void;
}
//# sourceMappingURL=captureconsole.d.ts.map