Skip to content

Conversation

@edenreich
Copy link
Owner

@edenreich edenreich commented Nov 28, 2024

Summary

This pull request introduces a new feature to the CLI application, allowing users to set the log level via a command-line argument or environment variable. The most important changes include adding a new verbosity argument to the Cli struct and updating the main function to handle this new argument.

Enhancements to CLI logging:

  • cli/src/cli.rs: Added a verbosity argument to the Cli struct, allowing users to set the log level for the application using either a command-line argument or the RUST_LOG environment variable.
  • cli/src/main.rs: Modified the main function to check for the RUST_LOG environment variable and set the log level based on the new verbosity argument from the CLI. This ensures that the correct log level is used when the application runs.

@edenreich edenreich requested a review from Copilot November 28, 2024 14:55
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 2 out of 2 changed files in this pull request and generated no suggestions.

@edenreich edenreich added the bug Something isn't working label Nov 28, 2024
@edenreich edenreich merged commit dc21f05 into main Nov 28, 2024
10 checks passed
edenreich pushed a commit that referenced this pull request Nov 28, 2024
## [1.13.5](v1.13.4...v1.13.5) (2024-11-28)

### Bug Fixes

* RUST_LOG defaulting to error ([#42](#42)) ([dc21f05](dc21f05))
@edenreich
Copy link
Owner Author

🎉 This PR is included in version 1.13.5 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working released

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

RUST_LOG is defaulting to error

2 participants