logging
Installation
SKILL.md
Logging
Overview
Effective logging is essential for debugging, monitoring, and understanding application behavior. This skill covers structured logging patterns using Serilog.
Definition of Done (DoD)
- All significant operations are logged with appropriate level
- Logs include correlation IDs for request tracing
- Sensitive data is never logged (passwords, tokens, PII)
- Log messages are structured (use templates, not string concatenation)
- Errors include exception details and context
- Log levels are appropriate (not everything is Warning/Error)