Skip to content

Commit

Permalink
fixup! feat(beta): force debug/verbose logging for Beta users
Browse files Browse the repository at this point in the history
  • Loading branch information
justinmk3 committed Nov 15, 2024
1 parent f07500d commit 87eebd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/shared/logger/toolkitLogger.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down

0 comments on commit 87eebd4

Please sign in to comment.