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