sentry-uniapp
Version:
用于Uniapp/小程序/快应用等平台的 Sentry SDK
25 lines • 665 B
TypeScript
export declare const CONSOLE_LEVELS: readonly string[];
declare type LoggerMethod = (...args: unknown[]) => void;
declare type LoggerConsoleMethods = Record<string, LoggerMethod>;
/** This may be mutated by the console instrumentation. */
export declare const originalConsoleMethods: {
[key in string]?: (...args: any[]) => void;
};
/** JSDoc */
interface Logger extends LoggerConsoleMethods {
/**
* 禁用日志
*/
disable(): void;
/**
* 开启日志
*/
enable(): void;
/**
* 判断日志状态
*/
isEnabled(): boolean;
}
export declare const logger: Logger;
export {};
//# sourceMappingURL=logger.d.ts.map