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

Function warn

src/utils/logger.js:73–77  ·  view source on GitHub ↗

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

(message, ...args)

Source from the content-addressed store, hash-verified

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 * 错误日志

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected