mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-29 14:54:47 +00:00
using ROCLS_LOG for logging env var
Signed-off-by: faldor20 <eli.jambu@yahoo.com>
This commit is contained in:
parent
740222e51a
commit
a6549f3fd3
3 changed files with 3 additions and 4 deletions
|
@ -79,6 +79,6 @@ If you're using coc.nvim and want to use the configuration above, be sure to als
|
|||
If you want to debug the server, use [debug_server.sh](./debug_server.sh)
|
||||
instead of the direct binary.
|
||||
|
||||
If you would like to enable debug logging set the `RUST_LOG` environment variable to `debug` or `trace` for even more logs.
|
||||
eg: `RUST_LOG=debug`
|
||||
If you would like to enable debug logging set the `ROCLS_LOG` environment variable to `debug` or `trace` for even more logs.
|
||||
eg: `ROCLS_LOG=debug`
|
||||
|
||||
|
|
|
@ -1 +0,0 @@
|
|||
|
|
@ -338,7 +338,7 @@ where
|
|||
|
||||
#[tokio::main(flavor = "multi_thread")]
|
||||
async fn main() {
|
||||
env_logger::init();
|
||||
env_logger::Builder::from_env("ROCLS_LOG").init();
|
||||
|
||||
let stdin = tokio::io::stdin();
|
||||
let stdout = tokio::io::stdout();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue