mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-29 21:35:20 +00:00
Use env_logger in ra_cli
This commit is contained in:
parent
484acc8a61
commit
9c01c0dcb5
3 changed files with 28 additions and 4 deletions
|
@ -7,7 +7,6 @@ mod progress_report;
|
|||
|
||||
use std::{error::Error, fmt::Write, io::Read};
|
||||
|
||||
use flexi_logger::Logger;
|
||||
use pico_args::Arguments;
|
||||
use ra_ide::{file_structure, Analysis};
|
||||
use ra_prof::profile;
|
||||
|
@ -32,7 +31,7 @@ impl Verbosity {
|
|||
}
|
||||
|
||||
fn main() -> Result<()> {
|
||||
Logger::with_env_or_str("error").start()?;
|
||||
env_logger::try_init()?;
|
||||
|
||||
let subcommand = match std::env::args_os().nth(1) {
|
||||
None => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue