You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's a best practice for vscode extensions that the logs go to the Output pane channel rather than dev tools console because dev console contains lots of info and errors unrelated to the extension while the output channel is dedicated to the extension. It's a lot user friendlier for extension users to consume. Using log infra also allows filtering logs by log-level (eg trace, debug, info, etc)
Clear and concise description of the problem
It's a best practice for vscode extensions that the logs go to the Output pane channel rather than dev tools console because dev console contains lots of info and errors unrelated to the extension while the output channel is dedicated to the extension. It's a lot user friendlier for extension users to consume. Using log infra also allows filtering logs by log-level (eg trace, debug, info, etc)
Suggested solution
It's preferable to use https://code.visualstudio.com/api/references/vscode-api#LogOutputChannel.
Alternative
No response
Additional context
No response
Validations
The text was updated successfully, but these errors were encountered: