Toggle navigation
Toggle navigation
This project
Loading...
Sign in
developOne
/
harmonyPool
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
zhangbo1_wd
2024-04-29 18:56:07 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
6e3d0ac7c632270c852b83673039fb10f3ba9a6a
6e3d0ac7
1 parent
90a7f887
多余logger工具类加deprecated标记
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
sight_harmony/features/wdPlayer/src/main/ets/utils/Logger.ets
sight_harmony/features/wdPlayer/src/main/ets/utils/Logger.ets
View file @
6e3d0ac
...
...
@@ -15,12 +15,12 @@ enum LogLevel {
/**
* Common log for all features.
*
*
@deprecated 弃用
* @param {string} prefix Identifies the log tag.
*/
export class Logger {
private static domain: number = 0xFF00;
private static prefix: string = '
MiguVideo
App';
private static prefix: string = '
Sight
App';
private static format: string = `%{public}s, %{public}s`;
/**
...
...
@@ -29,7 +29,7 @@ export class Logger {
* @param Prefix Identifies the log tag.
* @param domain Domain Indicates the service domain, which is a hexadecimal integer ranging from 0x0 to 0xFFFFF.
*/
constructor(prefix: string = '
MiguVideo
App', domain: number = 0xFF00) {
constructor(prefix: string = '
Sight
App', domain: number = 0xFF00) {
Logger.prefix = prefix;
Logger.domain = domain;
}
...
...
@@ -59,4 +59,4 @@ export class Logger {
}
}
export default new Logger('MiguVideoApp', 0xFF00)
\ No newline at end of file
export default new Logger('SightApp', 0xFF00)
\ No newline at end of file
...
...
Please
register
or
login
to post a comment