mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-25 11:17:13 +00:00
Update README
This commit is contained in:
parent
eb4e70fc67
commit
1793abf4fd
@ -124,9 +124,8 @@ Logging is done by both rust-analyzer and VS Code, so it might be tricky to
|
||||
figure out where logs go.
|
||||
|
||||
Inside rust-analyzer, we use the standard `log` crate for logging, and
|
||||
`flexi_logger` for logging frotend. By default, log goes to stderr (the same as
|
||||
with `env_logger`), but the stderr itself is processed by VS Code. To mirror
|
||||
logs to a `./log` directory, set `RA_LOG_DIR=1` environmental variable.
|
||||
`env_logger` for logging frontend. By default, log goes to stderr, but the
|
||||
stderr itself is processed by VS Code.
|
||||
|
||||
To see stderr in the running VS Code instance, go to the "Output" tab of the
|
||||
panel and select `rust-analyzer`. This shows `eprintln!` as well. Note that
|
||||
|
Loading…
x
Reference in New Issue
Block a user