MCPcopy Create free account
hub / github.com/Crain99/cc-reverse / error

Function error

src/utils/logger.js:84–88  ·  view source on GitHub ↗

* 错误日志 * @param {string} message 日志消息 * @param {...any} args 附加参数

(message, ...args)

Source from the content-addressed store, hash-verified

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 * 成功日志

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected