settingsdata 告警整改

Signed-off-by: chenlang10 <18577333310@163.com>
This commit is contained in:
chenlang10 2023-06-06 09:37:07 +08:00
parent bb17a49f95
commit 9df7a7ea21
3 changed files with 7 additions and 4 deletions

3
.codecheck/check.yml Normal file
View File

@ -0,0 +1,3 @@
tool_params:
cmetrics:
exclude:applications/standard/settingsdata/hvigorfile.js|applications/standard/settingsdata/entry/hvigorfile.js

View File

@ -14,7 +14,7 @@
*/ */
import { Log } from '../Utils/Log'; import { Log } from '../Utils/Log';
import AbilityStage from '@ohos.app.ability.AbilityStage' import AbilityStage from '@ohos.app.ability.AbilityStage';
export default class DataAbilityStage extends AbilityStage { export default class DataAbilityStage extends AbilityStage {
onCreate() :void { onCreate() :void {

View File

@ -99,7 +99,7 @@ export class Log {
* @param level log level * @param level log level
* @since 7 * @since 7
*/ */
private static isLoggable(level: number): boolean { private static isLoggable(level: hiLog.LogLevel): boolean {
return hiLog.isLoggable(DOMAIN, TAG, level); return hiLog.isLoggable(DOMAIN, TAG, level);
} }
} }