-
Notifications
You must be signed in to change notification settings - Fork 68
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
feat(color_eyre): add support to specify verbosity in HookBuilder #192
base: master
Are you sure you want to change the base?
Conversation
Made the Verbosity public and added documentation Added verbosity method to HookBuilder
Looks good, I'm happy to merge this with the addition of some tests. Particularly what happens when conflicting verbosity is set via both the hook builder and the env. |
Sorry for being incommunicado for the past few days, I'll go ahead and fix Clippy failing. As it's configured right now, verbosity that is specified in HookBuilder overrides environment, though it is possible to write another function that would instead have environment override specified verbosity. |
Never mind about Clippy, all the warnings are not from changes in this pull request. |
clippy warnings should be fixed now |
@yaahc Is this ready to be merged, or is there something else I should do? |
In situations where setting the environment is unsafe it would be more convenient to manually specify the verbosity without using the environment at all.