Skip to content

Commit

Permalink
feat(lsp): improve logging setup
Browse files Browse the repository at this point in the history
Overall improve the logging output for the LSP client, and write the
logs to a file as well.
  • Loading branch information
dnaka91 committed Dec 4, 2023
1 parent f74d625 commit 5962776
Show file tree
Hide file tree
Showing 3 changed files with 188 additions and 56 deletions.
180 changes: 142 additions & 38 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions crates/stef-lsp/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,15 @@ repository.workspace = true
license.workspace = true

[dependencies]
directories = "5.0.1"
ouroboros = "0.18.0"
stef-compiler = { path = "../stef-compiler" }
stef-parser = { path = "../stef-parser" }
tokio = { version = "1.34.0", features = ["io-std", "macros", "rt-multi-thread"] }
tokio = { version = "1.34.0", features = ["fs", "io-std", "io-util", "macros", "rt-multi-thread"] }
tower-lsp = { version = "0.20.0", features = ["proposed"] }
tracing = "0.1.40"
tracing-subscriber = { version = "0.3.18", features = ["env-filter"] }
tracing-appender = "0.2.3"
tracing-subscriber = "0.3.18"

[lints]
workspace = true
Loading

0 comments on commit 5962776

Please sign in to comment.