UNPKG

@amplitude/analytics-core

Version:
12 lines 703 B
import { LogConfig } from '../logger'; import { AmplitudeCore } from '../core-client'; export declare const getStacktrace: (ignoreDepth?: number) => string[]; export declare const getClientLogConfig: (client: AmplitudeCore) => () => LogConfig; export declare const getValueByStringPath: (obj: any, path: string) => any; export declare const getClientStates: (client: AmplitudeCore, paths: Array<string>) => () => { [key: string]: any; }; export declare const debugWrapper: <T extends any[], R>(fn: (...args: T) => R, fnName: string, getLogConfig: () => LogConfig, getStates?: (() => { [key: string]: any; }) | undefined, fnContext?: any) => (...args: T) => R; //# sourceMappingURL=debug.d.ts.map