mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 06:11:35 +00:00
Merge #7473
7473: Use RA_LOG in tests r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
This commit is contained in:
commit
a3f5e7db55
1 changed files with 1 additions and 1 deletions
|
@ -64,7 +64,7 @@ impl<'a> Project<'a> {
|
||||||
let tmp_dir = self.tmp_dir.unwrap_or_else(|| TestDir::new());
|
let tmp_dir = self.tmp_dir.unwrap_or_else(|| TestDir::new());
|
||||||
static INIT: Once = Once::new();
|
static INIT: Once = Once::new();
|
||||||
INIT.call_once(|| {
|
INIT.call_once(|| {
|
||||||
env_logger::builder().is_test(true).try_init().unwrap();
|
env_logger::builder().is_test(true).parse_env("RA_LOG").try_init().unwrap();
|
||||||
profile::init_from(crate::PROFILE);
|
profile::init_from(crate::PROFILE);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue