* 错误日志 * @param {string} message 日志消息 * @param {...any} args 附加参数
(message, ...args)
| 82 | * @param {...any} args 附加参数 |
| 83 | */ |
| 84 | error(message, ...args) { |
| 85 | if (this.level <= LogLevel.ERROR && !this.silent) { |
| 86 | console.log(chalk.red(`[ERROR] ${message}`), ...args); |
| 87 | } |
| 88 | }, |
| 89 | |
| 90 | /** |
| 91 | * 成功日志 |
nothing calls this directly
no outgoing calls
no test coverage detected