Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What it does
Resolves eclipse-theia#12017
Contributed on behalf of STMicroelectronics.
Remark:
This PR contributes the basic VS Code API support for LogOutputChannels, to fully support all aspects of a LogOutputViewChannel as in VS Code some additional features will be needed:
I suggest to extract those additional features into separate follow-up issues if you agree.
How to test
To test, I created a simple extension that creates a LogOutputChannel and contributes commands to send log messages in different levels:
vscode-extension-log-output-channel-12017-0.0.1.zip
vscode-extension-log-output-channel-12017-0.0.1.vsix
in your Theia test workspace (viaExtensions
view - top menu barMore actions...
-Install from VSIX
).LogOutputChannel-Test-12017
is shown in the output view and the initial message (LogLevel set to: Info
) should be shown.Log a <loglevel> message via LogOutputChannel
) via the command palette and check for the messages in the output channel.Remark: Currently the loglevel is set to default INFO log level.
Review checklist
Reminder for reviewers