Skip to content

Commit 0d0e24b

Browse files
Merge staging into feature/featureDev-codegen
2 parents d64cca0 + d434294 commit 0d0e24b

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/shared/logger/outputChannelTransport.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,12 @@ export class OutputChannelTransport extends Transport {
6464
} else if (loglevel === 'warn') {
6565
c.warn(msg)
6666
} else if (loglevel === 'debug' || loglevel === 'verbose') {
67-
c.debug(msg)
67+
// XXX: `vscode.LogOutputChannel` loglevel is currently readonly:
68+
// https://github.com/microsoft/vscode/issues/170450
69+
// https://github.com/PowerShell/vscode-powershell/issues/4441
70+
// So debug() will just drop messages unless the user has increased vscode's log-level.
71+
// Use info() until vscode adds a way to set the loglevel.
72+
c.info(msg)
6873
} else {
6974
c.info(msg)
7075
}

0 commit comments

Comments
 (0)