Revert "Read log_level from env CARGO_BINSTALL_LOG_LEVEL if arg not present" (#796)

This reverts commit e84228ba01.
This commit is contained in:
Jiahao XU 2023-02-13 15:31:15 +11:00 committed by GitHub
parent 04113e9dd9
commit 7c15dd2052
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 7 deletions

View file

@ -226,12 +226,7 @@ pub struct Args {
///
/// Set to `off` to disable logging completely, this will also
/// disable output from `cargo-install`.
#[clap(
help_heading = "Meta",
long,
value_name = "LEVEL",
env = "CARGO_BINSTALL_LOG_LEVEL"
)]
#[clap(help_heading = "Meta", long, value_name = "LEVEL")]
pub log_level: Option<LevelFilter>,
/// Equivalent to setting `log_level` to `off`.