UNPKG

@datadog/browser-logs

Version:
20 lines (19 loc) 575 B
import type { Context, ClocksState } from '@datadog/browser-core'; import type { LogsConfiguration } from '../configuration'; import type { LifeCycle } from '../lifeCycle'; export interface ProvidedError { startClocks: ClocksState; error: unknown; context?: Context; handlingStack: string; } export declare const LogStatusForApi: { log: "info"; debug: "debug"; info: "info"; warn: "warn"; error: "error"; }; export declare function startConsoleCollection(configuration: LogsConfiguration, lifeCycle: LifeCycle): { stop: () => void; };