* 警告日志 * @param {string} message 日志消息 * @param {...any} args 附加参数
(message, ...args)
| 71 | * @param {...any} args 附加参数 |
| 72 | */ |
| 73 | warn(message, ...args) { |
| 74 | if (this.level <= LogLevel.WARN && !this.silent) { |
| 75 | console.log(chalk.yellow(`[WARN] ${message}`), ...args); |
| 76 | } |
| 77 | }, |
| 78 | |
| 79 | /** |
| 80 | * 错误日志 |
nothing calls this directly
no outgoing calls
no test coverage detected