Skip to content

Commit

Permalink
Tweak expected option name
Browse files Browse the repository at this point in the history
  • Loading branch information
DavisVaughan committed Dec 11, 2024
1 parent f6e203e commit 8d952c7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/lsp/src/logging.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

//! The logging system for `air lsp`.
//!
//! Logs are controlled by the `air.server.log` setting in VS Code,
//! Logs are controlled by the `air.logLevel` setting in VS Code,
//! passed through `InitializeParams` in the arbitrary `initializationOptions` field.
//!
//! Logs are also controlled by the `AIR_LOG` environment variable. This is preferred
Expand Down Expand Up @@ -35,7 +35,7 @@ use tracing_subscriber::{
};

// TODO:
// - Add `air.server.log` as a VS Code extension option that sets the log level,
// - Add `air.logLevel` as a VS Code extension option that sets the log level,
// and pass it through the arbitrary `initializationOptions` field of `InitializeParams`.

const LOG_ENV_KEY: &str = "AIR_LOG";
Expand Down

0 comments on commit 8d952c7

Please sign in to comment.