[FEAT cloudctl] - Add structured logging and verbosity levels
Labels
- feature
- observability
- easy-to-use
Priority
(Medium) I'm annoyed but I'll live
User Story
As a developer or AI agent, I can see structured logs with different verbosity levels, so that I can debug issues more effectively and parse output programmatically.
Description
The current implementation uses standard log.Println which is not structured and lacks levels. Switching to log/slog (modern Go) or a similar library will allow JSON output (AI-friendly) and better debugging with -v/--verbose or --log-level flags.
Acceptance Criteria
Reference Issues
None
[FEAT cloudctl] - Add structured logging and verbosity levels
Labels
Priority
(Medium) I'm annoyed but I'll live
User Story
Description
The current implementation uses standard
log.Printlnwhich is not structured and lacks levels. Switching tolog/slog(modern Go) or a similar library will allow JSON output (AI-friendly) and better debugging with-v/--verboseor--log-levelflags.Acceptance Criteria
logpackage usages withlog/slog.--log-levelflag (debug, info, warn, error).--log-formatflag (text, json).synccommand logs detailed merging decisions atdebuglevel.Reference Issues
None