forked from FuelLabs/sway
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[LSP] Replace logging with tracing (FuelLabs#2925)
Related FuelLabs#2286 Replacing the tower_lsp logging with calls to the `tracing` lib. Added an option to `init_tracing_subscriber` to allow all tracing logs to be piped through stderr instead of split between stderr/stdio. Because the main thread in the LSP uses stdio to communicate with the LSP client, tracing logs must go through stderr. <img width="1018" alt="image" src="https://user-images.githubusercontent.com/47993817/193706774-2868ee6a-f62d-4a6e-b137-4aff09214536.png"> Co-authored-by: Joshua Batty <[email protected]>
- Loading branch information
1 parent
40f1e79
commit 6421a55
Showing
7 changed files
with
46 additions
and
25 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters