Standard/recommended logger for VS Code extension? #337
-
Hi there, I've been developing a VS Code extension called mshr-h/vscode-verilog-hdl-support since 2015. In the extension, I implemented a logging class which outputs log messages to So I looked at the logger implementation of microsoft/vscode-python and microsoft/vscode-cpptools. They both have their own logger implementations.
And I also googled "logging vscode extension" and found the @vscode-logging/logger library. But it looks like not maintained actively. My questions are
Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
I think I found the answer myself. |
Beta Was this translation helpful? Give feedback.
-
What I really want is the ability to track down to the source in the logger. Would you explain how to do that with |
Beta Was this translation helpful? Give feedback.
-
I don't know how to implement that because my extension doesn't need it. |
Beta Was this translation helpful? Give feedback.
I think I found the answer myself.
In VS Code 1.74, there's a Log output channel API which is what I wanted.