mirror of
https://gitee.com/openharmony/applications_settings_data
synced 2024-11-23 06:40:11 +00:00
settingsdata 告警整改
Signed-off-by: chenlang10 <18577333310@163.com>
This commit is contained in:
parent
bb17a49f95
commit
9df7a7ea21
3
.codecheck/check.yml
Normal file
3
.codecheck/check.yml
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
tool_params:
|
||||||
|
cmetrics:
|
||||||
|
exclude:applications/standard/settingsdata/hvigorfile.js|applications/standard/settingsdata/entry/hvigorfile.js
|
@ -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 {
|
||||||
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user