Skip to content

Improve Logging to allow more readable general logs. #198

Description

@MattB-msft

In VS Code today, Logging of progress and status is very difficult to parse though:
example:

Image

We need to create view of the logs that removes the 'noise' and focuses on the task being executed and its result or error in logs that are visible to the end developer.

These logs should also include more precise instructions on how to fix things when they go wrong, or links to help articles when we can supply them.

The task here is to review the logging system we currently have and update logging to adhere to the trace level's that are active for any given session in the extension for VS code.
this setting should be enabled here:

Image

We should support the levels:

  • Trace - this is for start / end and process details that are relevant only to debugging operations. (this includes - Info )
  • Info - this is general information of what is going on.. and example would be "Syncing " (this includes Warning )
  • Warning - this is alerts that the developer should be aware of but are not immediate failures, and example of this would be a problem that happened that the extension handled and compensated for. (this includes Error)
  • Error - These report errors that are raised that cause sync or general operations to fail.

The default setting should be Info

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requesttriageIssues has been looked at and assigned, but not yet resolved.

    Type

    No fields configured for Task.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions