spy-client
Version:
spy client
26 lines (25 loc) • 639 B
TypeScript
/**
* @file 资源、JS、白屏监控的基础
* @author kaivean
*/
import { SpyHeadConf } from '../lib/spyHeadInterface';
interface SendObj {
type?: 'perf' | 'except' | 'dist' | 'count';
group: string;
info: any;
dim?: any;
lid?: string;
pid?: string;
ts?: number;
}
declare const _default: {
conf: SpyHeadConf;
winerrors: SendObj[];
errorDestroy(): void;
observerDestroy(): void;
entryMap: any;
init(conf: SpyHeadConf): void;
addError(obj: SendObj): void;
send(obj: SendObj, isSend?: boolean, logServer?: string): void;
};
export default _default;