操作 旧版本 新版本 d.ts文件
跨平台能力有变化 类名:hilog;
方法or属性:function isLoggable(domain: number, tag: string, level: LogLevel): boolean;
旧版本信息:crossplatform
类名:hilog;
方法or属性:function isLoggable(domain: number, tag: string, level: LogLevel): boolean;
新版本信息:
@ohos.hilog.d.ts
跨平台能力有变化 类名:LogLevel;
方法or属性:DEBUG = 3
旧版本信息:
类名:LogLevel;
方法or属性:DEBUG = 3
新版本信息:crossplatform
@ohos.hilog.d.ts
跨平台能力有变化 类名:LogLevel;
方法or属性:INFO = 4
旧版本信息:
类名:LogLevel;
方法or属性:INFO = 4
新版本信息:crossplatform
@ohos.hilog.d.ts
跨平台能力有变化 类名:LogLevel;
方法or属性:WARN = 5
旧版本信息:
类名:LogLevel;
方法or属性:WARN = 5
新版本信息:crossplatform
@ohos.hilog.d.ts
跨平台能力有变化 类名:LogLevel;
方法or属性:ERROR = 6
旧版本信息:
类名:LogLevel;
方法or属性:ERROR = 6
新版本信息:crossplatform
@ohos.hilog.d.ts
跨平台能力有变化 类名:LogLevel;
方法or属性:FATAL = 7
旧版本信息:
类名:LogLevel;
方法or属性:FATAL = 7
新版本信息:crossplatform
@ohos.hilog.d.ts
跨平台能力有变化 类名:hiTraceMeter;
方法or属性:declare hiTraceMeter
旧版本信息:crossplatform
类名:hiTraceMeter;
方法or属性:declare hiTraceMeter
新版本信息:
@ohos.hiTraceMeter.d.ts
跨平台能力有变化 类名:hiTraceMeter;
方法or属性:function startTrace(name: string, taskId: number): void;
旧版本信息:crossplatform
类名:hiTraceMeter;
方法or属性:function startTrace(name: string, taskId: number): void;
新版本信息:
@ohos.hiTraceMeter.d.ts
跨平台能力有变化 类名:hiTraceMeter;
方法or属性:function finishTrace(name: string, taskId: number): void;
旧版本信息:crossplatform
类名:hiTraceMeter;
方法or属性:function finishTrace(name: string, taskId: number): void;
新版本信息:
@ohos.hiTraceMeter.d.ts