about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJosh McKinney <joshka@users.noreply.github.com>2024-07-27 21:59:12 -0700
committerJosh McKinney <joshka@users.noreply.github.com>2024-07-27 21:59:12 -0700
commit2f0451d113bd807a8d10ab667346f3fa77062632 (patch)
tree6f2b7717afc877c430c7512977f6016bdb8197ae
parentc0df26be420a5f0702214c393d85577843227437 (diff)
downloadrust-2f0451d113bd807a8d10ab667346f3fa77062632.tar.gz
rust-2f0451d113bd807a8d10ab667346f3fa77062632.zip
feat: add trace level to client logs
-rw-r--r--src/tools/rust-analyzer/editors/code/src/util.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/tools/rust-analyzer/editors/code/src/util.ts b/src/tools/rust-analyzer/editors/code/src/util.ts
index eb98425abff..db64a013fda 100644
--- a/src/tools/rust-analyzer/editors/code/src/util.ts
+++ b/src/tools/rust-analyzer/editors/code/src/util.ts
@@ -22,6 +22,10 @@ class Log {
         log: true,
     });
 
+    trace(...messages: [unknown, ...unknown[]]): void {
+        this.output.trace(this.stringify(messages));
+    }
+
     debug(...messages: [unknown, ...unknown[]]): void {
         this.output.debug(this.stringify(messages));
     }