Skip to content

Enabling Debug Logging #1952

Answered by justinmk
ollien asked this question in Q&A
Discussion options

You must be logged in to vote

We should update the codebase to do what you are expecting. But currently the extension log-level is driven by the vscode-neovim.logLevel setting.

This is because vscode LogOutputChannel was only recently implemented: f77256b

Note: there is also an outdated comment here:

vscode-neovim/src/logger.ts

Lines 112 to 118 in 4ccd611

case LogLevel.debug:
// XXX: `vscode.LogOutputChannel` loglevel is currently readonly:
// https://github.com/microsoft/vscode/issues/170450
// https://github.com/PowerShell/vscode-powershell/issues/4441
// So debug() drops messages unless the user has increased vscode's log-level.
// Use info() until vscode adds a way to set the l…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by ollien
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants