Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Convert to log/slog #519

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft

chore: Convert to log/slog #519

wants to merge 1 commit into from

Conversation

bhavanki
Copy link
Contributor

The small amount of verbose logging in the exec command has been
converted to debug logging under log/slog. Accordingly, the --verbose
command line flag has been deprecated in favor of the more flexible
--log-level flag.

The small amount of verbose logging in the exec command has been
converted to debug logging under log/slog. Accordingly, the `--verbose`
command line flag has been deprecated in favor of the more flexible
`--log-level` flag.
@bhavanki bhavanki requested a review from a team as a code owner June 17, 2024 16:20
Copy link

codecov bot commented Jun 17, 2024

Codecov Report

Attention: Patch coverage is 13.04348% with 20 lines in your changes missing coverage. Please review.

Project coverage is 35.90%. Comparing base (0e67861) to head (b3c4f5e).

Files Patch % Lines
cmd/root.go 15.78% 16 Missing ⚠️
cmd/exec.go 0.00% 4 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #519      +/-   ##
==========================================
- Coverage   36.01%   35.90%   -0.11%     
==========================================
  Files          29       29              
  Lines        2546     2562      +16     
==========================================
+ Hits          917      920       +3     
- Misses       1550     1563      +13     
  Partials       79       79              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@bhavanki
Copy link
Contributor Author

slog was introduced in Go 1.21, so this cannot be integrated yet since chamber still supports go 1.20. I'll leave this PR inactive until the 1.23 release, which is expected in August (about 2 months from now).

@bhavanki bhavanki marked this pull request as draft June 17, 2024 16:45
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.

None yet

1 participant