go-logging
Installation
SKILL.md
Go Logging (zap-based)
Structured logging using zap with console/file output, rotation, and request context.
Placement
| Project Type | Path / Lookup order |
|---|---|
| New project | pkg/logs/ |
| Existing project | 1) pkg/log 2) pkg/logs 3) pkg/utils/log/ (fallback) |
For new projects, MUST create the log package under pkg/logs/.
For existing projects, use the first found among pkg/log, pkg/logs; only use pkg/utils/log/ when neither exists.