Skip to main content
在 Manus 中运行任何 Skill
一键导入

mongez-copper-log

星标0
分支0
更新时间2026年5月27日 15:02

Themed CLI logger with `debug` / `info` / `success` / `warn` / `error` levels, colored symbol prefixes, level filtering, and a custom output stream. Errors serialize stack traces; plain values pass through `JSON.stringify` for structured printing. TRIGGER when: code imports `log`, `createLogger`, `Logger`, `LogLevel`, or `LoggerOptions` from `@mongez/copper`; user asks "how do I print colored info / warn / error logs in a CLI / silence info messages in quiet mode / log to stderr"; replacing `consola`, `signale`, `ansi-colors` + manual prefix. SKIP: pino/winston-style structured JSON logging for production servers; browser console (this writes to `process.stdout` by default).

安装

用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。

SKILL.md
readonly