diff --git a/packages/core/src/shared/logger/toolkitLogger.ts b/packages/core/src/shared/logger/toolkitLogger.ts index 97d264779f0..d525fb7cf20 100644 --- a/packages/core/src/shared/logger/toolkitLogger.ts +++ b/packages/core/src/shared/logger/toolkitLogger.ts @@ -124,7 +124,7 @@ export class ToolkitLogger extends BaseLogger implements vscode.Disposable { override sendToLog(level: LogLevel, message: string | Error, ...meta: any[]): number { // XXX: force debug/verbose logs for Beta users. - level = this.isBeta ? 'info' : level + level = this.isBeta && compareLogLevel(level, 'info') > 0 ? 'info' : level if (this.disposed) { throw new Error('Cannot write to disposed logger')