Open rudyflores opened 1 month ago
This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!
Adding some additional context here, I noticed the UI allows setting independent log levels through Developer: Set Log Level...
, but is also the only way to achieve this. I would love for VS Code to add to it's API for OutputChannel
to set this independent log level similar to how this UI allows it!
:slightly_smiling_face: This feature request received a sufficient number of community upvotes and we moved it to our backlog. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!
I been working on an extensions that utilizes the
OutputChannel
API for logging things into the output view for different log levels such as:INFO
,ERROR
, etc...Each of these loggers output independent information from each other, let's call this logger A and logger B. My feature request is the possibility to allow setting an individual log level at a per logger basis, so for example logger A could have a
DEBUG
level and logger B could have aTRACE
level logging occur. This could be further enanced by using the set log level (as it works today) if the log level is not specified for that specific logger upon creation.This is what I envision this API to look like:
And even perhaps add a way to update this later with something like:
For setting these log level a user can perhaps even use this enumerator from VS Code's docs: https://code.visualstudio.com/api/references/vscode-api#LogLevel