@vforcity/logger
Version:
时间线前端异常监控工具包。
26 lines (25 loc) • 618 B
TypeScript
export interface GetLoggerPluginsOptions {
/**
* 是否是生产模式。
*/
isProduction: boolean;
/**
* 认证令牌。
*
* @example 'p5f7cda4d9634b0e920140f1ca4167c94420786fb6744622bd52e4f2c4009b88'
*/
authToken: string;
/**
* 项目 ID。
*
* @example 'gzyh-dtjl-h5'
*/
projectId: string;
/**
* 正式环境上静态资源的存放路径。
*
* @example 'https://spark.jiantui.net/signH5/Appointment'
*/
assetsBaseUrl: string;
}
export declare function getLoggerPlugins(options: GetLoggerPluginsOptions): any[];