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

Fix env_logger warning #93

Merged
merged 1 commit into from
Jan 6, 2021
Merged

Fix env_logger warning #93

merged 1 commit into from
Jan 6, 2021

Conversation

jsarenik
Copy link
Contributor

This fixes following build warning:

warning: use of deprecated function `env_logger::from_env`: Prefer `env_logger::Builder::from_env()` instead.
  --> src/main.rs:46:5
   |
46 |     env_logger::from_env(env_logger::Env::default().default_filter_or("info")).init();
   |     ^^^^^^^^^^^^^^^^^^^^
   |
   = note: `#[warn(deprecated)]` on by default

@jsarenik jsarenik mentioned this pull request Dec 14, 2020
@nwtgck
Copy link
Owner

nwtgck commented Jan 6, 2021

Thanks!

@nwtgck nwtgck merged commit 1b797aa into nwtgck:develop Jan 6, 2021
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