logging-best-practices
CommunityCanonical logging for powerful debugging.
Authorroderik
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill provides guidelines for implementing standardized, wide-event logging to improve observability and debugging across services.
Core Features & Use Cases
- One context-rich log per request per service (canonical log lines)
- Automatic inclusion of environment and business context
- Middleware-based pattern that centralizes timing, status, and emission
- JSON-formatted logs for easy querying and analytics
Quick Start
Configure a single logger at startup, add a wide-event middleware that initializes a structured event, enrich the event in route handlers with business data, and emit the final event in a finally block.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: logging-best-practices Download link: https://github.com/roderik/mpe/archive/main.zip#logging-best-practices Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.