KEMBAR78
Adopt logging service across the workbench · Issue #41680 · microsoft/vscode · GitHub
Skip to content

Adopt logging service across the workbench #41680

@joaomoreno

Description

@joaomoreno

We want to do a quick pass over our code and spread some logging love around. I've decided to split this into into logical parts and assign potential owners to each part. Some of these parts are huge, so take a resonable approach to it:

  • If you don't think it's your responsibility, forward it to the person you think it is;
  • If it's too much work, split it across more people;
  • If it's not relevant to logging, mark it as completed.

I suggest to take the following strategy:

  • Use the info log level for informational data, which should appear in a regular run of Code
  • Use the trace log level for traceable function calls, state changes, etc
  • Use the warn log level for non-blocking, non-critical, possibly expected errors

You can refer to vs/platform/update/electron-main/abstractUpdateService for an example.

Warning: Be careful with concurrent edits to this issue, as always. Refresh the page before you edit it (hopefully you won't need to) or before you check a checkbox.

Platform

Workbench Parts

Electron Main

Misc

Metadata

Metadata

Labels

engineeringVS Code - Build / issue tracking / etc.plan-itemVS Code - planned item for upcoming

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions