Showing
1 changed file
with
4 additions
and
4 deletions
| @@ -15,12 +15,12 @@ enum LogLevel { | @@ -15,12 +15,12 @@ enum LogLevel { | ||
| 15 | 15 | ||
| 16 | /** | 16 | /** |
| 17 | * Common log for all features. | 17 | * Common log for all features. |
| 18 | - * | 18 | + * @deprecated 弃用 |
| 19 | * @param {string} prefix Identifies the log tag. | 19 | * @param {string} prefix Identifies the log tag. |
| 20 | */ | 20 | */ |
| 21 | export class Logger { | 21 | export class Logger { |
| 22 | private static domain: number = 0xFF00; | 22 | private static domain: number = 0xFF00; |
| 23 | - private static prefix: string = 'MiguVideoApp'; | 23 | + private static prefix: string = 'SightApp'; |
| 24 | private static format: string = `%{public}s, %{public}s`; | 24 | private static format: string = `%{public}s, %{public}s`; |
| 25 | 25 | ||
| 26 | /** | 26 | /** |
| @@ -29,7 +29,7 @@ export class Logger { | @@ -29,7 +29,7 @@ export class Logger { | ||
| 29 | * @param Prefix Identifies the log tag. | 29 | * @param Prefix Identifies the log tag. |
| 30 | * @param domain Domain Indicates the service domain, which is a hexadecimal integer ranging from 0x0 to 0xFFFFF. | 30 | * @param domain Domain Indicates the service domain, which is a hexadecimal integer ranging from 0x0 to 0xFFFFF. |
| 31 | */ | 31 | */ |
| 32 | - constructor(prefix: string = 'MiguVideoApp', domain: number = 0xFF00) { | 32 | + constructor(prefix: string = 'SightApp', domain: number = 0xFF00) { |
| 33 | Logger.prefix = prefix; | 33 | Logger.prefix = prefix; |
| 34 | Logger.domain = domain; | 34 | Logger.domain = domain; |
| 35 | } | 35 | } |
| @@ -59,4 +59,4 @@ export class Logger { | @@ -59,4 +59,4 @@ export class Logger { | ||
| 59 | } | 59 | } |
| 60 | } | 60 | } |
| 61 | 61 | ||
| 62 | -export default new Logger('MiguVideoApp', 0xFF00) | ||
| 62 | +export default new Logger('SightApp', 0xFF00) |
-
Please register or login to post a comment