webcad-api/types/Common/Log.d.ts

21 lines
691 B
TypeScript
Raw Normal View History

export declare enum LogType {
Error = "ERROR",
Warning = "WARNING",
Info = "INFO",
Command = "COMMAND",
All = "ALL"
}
2023-05-08 10:53:13 +08:00
type LogFunction = (message?: any, ...optionalParams: any[]) => void;
2020-09-24 11:04:12 +08:00
export declare const _LogInjectFunctions: LogFunction[];
export declare function Log(message?: any, ...optionalParams: any[]): void;
export declare const _LogInjectInteractionFunctions: LogFunction[];
export declare function InteractionLog(message?: any, ...optionalParams: any[]): void;
2020-09-24 11:04:12 +08:00
export declare const LogEnable: {
Display: boolean;
};
export declare const ReportErrorWrap: {
ReportError: any;
IsProduction: boolean;
};
2020-09-24 11:04:12 +08:00
export {};
//# sourceMappingURL=Log.d.ts.map