Skip to content

Commit 87eebd4

Browse files
committed
fixup! feat(beta): force debug/verbose logging for Beta users
1 parent f07500d commit 87eebd4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/core/src/shared/logger/toolkitLogger.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ export class ToolkitLogger extends BaseLogger implements vscode.Disposable {
124124

125125
override sendToLog(level: LogLevel, message: string | Error, ...meta: any[]): number {
126126
// XXX: force debug/verbose logs for Beta users.
127-
level = this.isBeta ? 'info' : level
127+
level = this.isBeta && compareLogLevel(level, 'info') > 0 ? 'info' : level
128128

129129
if (this.disposed) {
130130
throw new Error('Cannot write to disposed logger')

0 commit comments

Comments
 (0)