hassanzohdy/copper/log

Claude Code and agent skill by hassanzohdy/copper

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

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.

Install

npx vskill@latest install hassanzohdy/copper/log

SKILL.md

Log

ts
import { log } from "@mongez/copper";
log.info("Starting server on", 4000);
log.success("Build complete");
log.warn("Cache miss for", { key: "user:42" });
log.error(new Error("Database unreachable"));
log.debug("payload", payload);

Each call writes one line prefixed with a colored level symbol — ℹ info, ✔ success, ⚠ warn, ✖ error, • debug (with Windows ASCII fallbacks).

Default singleton

log is preconfigured: every level enabled, writing to process.stdout. Import and go.

createLogger(options)

OptionDefaultNote
level"debug"Suppress lower priorities. Order: debug < info < success < warn < error
streamprocess.stdoutSwitch to process.stderr to keep warnings off piped stdout
levels(built-ins)Per-level { symbol, label, color } overrides
ts
import { createLogger, colors, symbols } from "@mongez/copper";
const log = createLogger({
level: "warn", // hide debug/info/success
stream: process.stderr,
levels: {
error: { symbol: "💥", label: "BOOM", color: colors.redBright },
},
});

Argument handling

Multiple args are joined by space. Each arg is stringified:

  • string → as-is
  • Error → error.stack ?? error.message
  • everything else → JSON.stringify(value)
ts
log.info("port", 4000, { secure: true });
// ℹ port 4000 {"secure":true}
log.error(new TypeError("nope"));
// ✖ TypeError: nope
// at ...

Level filtering

ts
const log = createLogger({ level: process.env.QUIET ? "warn" : "debug" });
log.debug("verbose stuff"); // hidden when QUIET=1
log.warn("still shown");

Security

  • Security scanPassed, 100 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/hassanzohdy/copper/log/badge)](https://verified-skill.com/skills/hassanzohdy/copper/log)

Something wrong with this skill or its page? Tell us.