111
This commit is contained in:
15
dist/utils/Logger.d.ts
vendored
Normal file
15
dist/utils/Logger.d.ts
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
/**
|
||||
* 日志工具类
|
||||
*/
|
||||
declare class Logger {
|
||||
private prefix;
|
||||
constructor(prefix?: string);
|
||||
private formatMessage;
|
||||
info(message: string, ...args: any[]): void;
|
||||
warn(message: string, ...args: any[]): void;
|
||||
error(message: string, ...args: any[]): void;
|
||||
debug(message: string, ...args: any[]): void;
|
||||
trace(message: string, ...args: any[]): void;
|
||||
}
|
||||
export default Logger;
|
||||
//# sourceMappingURL=Logger.d.ts.map
|
||||
Reference in New Issue
Block a user