aboutsummaryrefslogtreecommitdiff
path: root/editors/code/src/inlay_hints.ts
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2020-02-21 14:59:46 +0000
committerAleksey Kladov <[email protected]>2020-02-22 15:03:47 +0000
commit49844ab717d8d1790dbdf7f44d160936ece0e80f (patch)
tree42c009ba902ecdda6d22daa8063fcb19f20408c7 /editors/code/src/inlay_hints.ts
parent2cbe8a4c4be2a69b27c248ab96341c2336f983cd (diff)
Extract client-side logging
Diffstat (limited to 'editors/code/src/inlay_hints.ts')
-rw-r--r--editors/code/src/inlay_hints.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/editors/code/src/inlay_hints.ts b/editors/code/src/inlay_hints.ts
index 641ec15c6..7e6c310a9 100644
--- a/editors/code/src/inlay_hints.ts
+++ b/editors/code/src/inlay_hints.ts
@@ -2,6 +2,7 @@ import * as vscode from 'vscode';
2import * as lc from 'vscode-languageclient'; 2import * as lc from 'vscode-languageclient';
3 3
4import { Ctx, sendRequestWithRetry } from './ctx'; 4import { Ctx, sendRequestWithRetry } from './ctx';
5import { log } from './util';
5 6
6export function activateInlayHints(ctx: Ctx) { 7export function activateInlayHints(ctx: Ctx) {
7 const hintsUpdater = new HintsUpdater(ctx); 8 const hintsUpdater = new HintsUpdater(ctx);
@@ -71,7 +72,7 @@ class HintsUpdater {
71 } 72 }
72 73
73 async setEnabled(enabled: boolean): Promise<void> { 74 async setEnabled(enabled: boolean): Promise<void> {
74 console.log({ enabled, prev: this.enabled }); 75 log.debug({ enabled, prev: this.enabled });
75 76
76 if (this.enabled === enabled) return; 77 if (this.enabled === enabled) return;
77 this.enabled = enabled; 78 this.enabled = enabled;