Skip to content

Logs should go to Output pane channel rather than dev console #460

Closed
@ulugbekna

Description

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

Metadata

Assignees

No one assigned

    Labels

    p2-edge-caseBug, but has workaround or limited in scope (priority)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions