clif-util: always use pretty-env-logger (#4443)

Rather than sometimes using `file-per-thread-logger`.

Also remove the debug CLI flags, so that we can always just define
`RUST_LOG=...` to get logging and don't need to also do other things.
This commit is contained in:
Nick Fitzgerald
2022-07-13 13:43:12 -07:00
committed by GitHub
parent 4ea46c3ca8
commit f7767eb352
9 changed files with 2 additions and 54 deletions

View File

@@ -17,17 +17,12 @@ pub struct Options {
#[clap(required = true)]
files: Vec<PathBuf>,
/// Enable debug output on stderr/stdout
#[clap(short)]
debug: bool,
/// Be more verbose
#[clap(short, long)]
verbose: bool,
}
pub fn run(options: &Options) -> Result<()> {
crate::handle_debug_flag(options.debug);
let stdin_exist = options
.files
.iter()