logging-best-practices

logging best practices

boristane 104 ↓ 3.9k updated 6mo ago
Claude Code
View source ↗

What it does

  • Writing or reviewing logging code
  • Adding console.log, logger.info, or similar
  • Designing logging strategy for new services
  • Setting up logging infrastructure
  • Use JSON format consistently
  • Maintain consistent field names across services
  • Simplify to two log levels: info and error

Derived from the skill's own SKILL.md documentation · extracted 2026-07-23

logging best practices

Source

Repository: https://github.com/boristane/agent-skills

logging-best-practices FAQ

What does the logging-best-practices skill do?

Logging best practices focused on wide events (canonical log lines) for powerful debugging and analytics Writing or reviewing logging code Adding console.log, logger.info, or similar

How do I install logging-best-practices?

Run: npx -y skills add https://github.com/boristane/agent-skills --skill logging-best-practices --agent claude-code — the source lives at github.com/boristane/agent-skills.

Maintain logging-best-practices?

Let people know it's listed here — add the badge (live metrics, light/dark aware) or a plain link to your README or docs.

[logging-best-practices on getagentictools](https://getagentictools.com/skills/boristane-agent-skills-logging-best-practices?ref=badge)
npx agentictools info skills/boristane-agent-skills-logging-best-practices

The second line is the CLI lookup for this page — handy in READMEs and docs.