diff options
author | Bryan Newbold <bnewbold@archive.org> | 2022-03-29 13:53:31 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@archive.org> | 2022-03-29 13:53:31 -0700 |
commit | 17a56e2335d1e18faae67eb6834f63e027e08c3b (patch) | |
tree | 83a7f808d5510c821a9bd16dec21483444efd15d | |
parent | c1ab68801d075c84a1f9a00ee39e05509f9bd759 (diff) | |
download | fatcat-cli-17a56e2335d1e18faae67eb6834f63e027e08c3b.tar.gz fatcat-cli-17a56e2335d1e18faae67eb6834f63e027e08c3b.zip |
minor env_logger usage update (deprecation)
-rw-r--r-- | fatcat-cli/src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fatcat-cli/src/main.rs b/fatcat-cli/src/main.rs index f4a8d57..5441f36 100644 --- a/fatcat-cli/src/main.rs +++ b/fatcat-cli/src/main.rs @@ -343,7 +343,7 @@ fn main() -> Result<()> { }; // hyper logging is very verbose, so crank that down even if everything else is more verbose let log_filter = format!("{},hyper=error", log_level); - env_logger::from_env(env_logger::Env::default().default_filter_or(log_filter)) + env_logger::Builder::from_env(env_logger::Env::default().default_filter_or(log_filter)) .format_timestamp(None) .init(); |