Skip to content

feat(cli): Add global verbose logging flag - #22

Merged
philprime merged 1 commit into
mainfrom
philprime/feat/global-verbose-logging
Sep 15, 2026
Merged

philprime merged 1 commit into
mainfrom
philprime/feat/global-verbose-logging

Conversation

@philprime

Copy link
Copy Markdown
Member

Add a global --verbose flag that works before or after any subcommand and sends debug-and-higher logs to stderr. Normal stdout, including raw JSON output, remains unchanged, and diagnostics stay quiet without the flag.

Logging is configured once after parsing and works with telemetry disabled. Sentry retains its existing info-level threshold and privacy filters independently of local verbosity.

Verification

Passed make test, make analyze, and make build. Release smoke tests confirmed both flag positions, identical stdout with and without verbose logging, valid JSON output, help handling, and command-error reporting with telemetry disabled.

@philprime
philprime marked this pull request as ready for review September 15, 2026 11:52
@philprime
philprime merged commit 4817ae4 into main Sep 15, 2026
15 checks passed
@philprime
philprime deleted the philprime/feat/global-verbose-logging branch September 15, 2026 11:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant