Skip to content

Commit

Permalink
show all log levels by default
Browse files Browse the repository at this point in the history
  • Loading branch information
sandy081 committed Jan 9, 2025
1 parent 12c0991 commit 824b0be
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/vs/workbench/browser/parts/views/viewFilter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ export class FilterWidget extends Widget {
@IKeybindingService private readonly keybindingService: IKeybindingService
) {
super();
this.delayedFilterUpdate = new Delayer<void>(400);
this.delayedFilterUpdate = new Delayer<void>(300);
this._register(toDisposable(() => this.delayedFilterUpdate.cancel()));

if (options.focusContextKey) {
Expand Down
4 changes: 2 additions & 2 deletions src/vs/workbench/contrib/output/browser/outputServices.ts
Original file line number Diff line number Diff line change
Expand Up @@ -238,8 +238,8 @@ export class OutputService extends Disposable implements IOutputService, ITextMo

this.filters = this._register(new OutputViewFilters({
filterHistory: [],
trace: false,
debug: false,
trace: true,
debug: true,
info: true,
warning: true,
error: true
Expand Down
6 changes: 3 additions & 3 deletions src/vs/workbench/contrib/output/browser/outputView.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,8 @@ export class OutputViewPane extends FilterViewPane {

const filters = outputService.filters;
filters.text = this.panelState['filter'] || '';
filters.trace = this.panelState['showTrace'] ?? false;
filters.debug = this.panelState['showDebug'] ?? false;
filters.trace = this.panelState['showTrace'] ?? true;
filters.debug = this.panelState['showDebug'] ?? true;
filters.info = this.panelState['showInfo'] ?? true;
filters.warning = this.panelState['showWarning'] ?? true;
filters.error = this.panelState['showError'] ?? true;
Expand Down Expand Up @@ -184,7 +184,7 @@ export class OutputViewPane extends FilterViewPane {

public checkMoreFilters(): void {
const filters = this.outputService.filters;
this.filterWidget.checkMoreFilters(filters.trace || filters.debug || !filters.info || !filters.warning || !filters.error);
this.filterWidget.checkMoreFilters(!filters.trace || !filters.debug || !filters.info || !filters.warning || !filters.error);
}

private clearInput(): void {
Expand Down

0 comments on commit 824b0be

Please sign in to comment.