Use log service everywhere, fix log printing

Fixes #1560
This commit is contained in:
Daniel Imms
2019-07-13 09:44:16 -07:00
parent 94199ae124
commit 2977a53cc1
9 changed files with 16 additions and 39 deletions
+2 -2
View File
@@ -324,7 +324,7 @@ export class InputHandler extends Disposable implements IInputHandler {
const cursorStartX = buffer.x;
const cursorStartY = buffer.y;
this._logService.debug('data: ' + data);
this._logService.debug('parsing data', data);
if (this._parseBuffer.length < data.length) {
this._parseBuffer = new Uint32Array(data.length);
@@ -348,7 +348,7 @@ export class InputHandler extends Disposable implements IInputHandler {
const cursorStartY = buffer.y;
// TODO: Consolidate debug/logging #1560
this._logService.debug('data: ' + data);
this._logService.debug('parsing data', data);
if (this._parseBuffer.length < data.length) {
this._parseBuffer = new Uint32Array(data.length);