universal-build-plugin-version-check-test
Version:
一个支持多种前端构建工具的通用插件框架,包括 Vite、Webpack、Rollup 等,提供版本检查、构建优化等功能
33 lines • 737 B
TypeScript
/**
* 日志工具类
*/
export declare class Logger {
private prefix;
private debugMode;
constructor(prefix?: string, debugMode?: boolean);
/**
* 信息日志
*/
info(message: string, ...args: any[]): void;
/**
* 警告日志
*/
warn(message: string, ...args: any[]): void;
/**
* 错误日志
*/
error(message: string, ...args: any[]): void;
/**
* 调试日志 - 只在调试模式下输出
*/
debug(message: string, ...args: any[]): void;
/**
* 成功日志
*/
success(message: string, ...args: any[]): void;
/**
* 设置调试模式
*/
setDebugMode(enabled: boolean): void;
}
//# sourceMappingURL=logger.d.ts.map