@coralogix/browser
Version:
Official Coralogix SDK for browsers
15 lines (14 loc) • 578 B
TypeScript
import { InstrumentationBase, InstrumentationConfig } from '@opentelemetry/instrumentation';
import { CoralogixLogSeverity } from '../types-external';
export declare const CUSTOM_INSTRUMENTATION_VERSION = "1";
export declare enum LogSource {
CODE = "code"
}
export declare class CoralogixCustomLogInstrumentation extends InstrumentationBase {
private stringifyCustomLogData;
constructor(config: InstrumentationConfig);
protected init(): void;
disable(): void;
enable(): void;
log(severity: CoralogixLogSeverity, message: string, data?: any): void;
}