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

setup log level #7

Merged
merged 1 commit into from
Jun 27, 2022
Merged

setup log level #7

merged 1 commit into from
Jun 27, 2022

Conversation

kaplanelad
Copy link
Member

@kaplanelad kaplanelad commented Jun 26, 2022

Implement support log level as part of the template. related issue #5

  1. add all the log-level options as a clap possible_values
  2. set info level as default
  3. override from an environment variable if LOG is exists

flag:

bumblefoot --log <LEVEL>

Take from env:

LOG=<LEVEL> bumblefoot 

@kaplanelad kaplanelad requested a review from jondot June 26, 2022 18:52
@kaplanelad kaplanelad self-assigned this Jun 26, 2022
@jondot jondot merged commit 5abefc0 into master Jun 27, 2022
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.

2 participants