Allow lazy evaluated log params

This commit is contained in:
Daniel Imms
2019-09-12 13:38:30 -07:00
parent fc4f345446
commit 761e437c69
2 changed files with 25 additions and 10 deletions
+1 -1
View File
@@ -54,7 +54,7 @@ export class CoreService implements ICoreService {
}
// Fire onData API
this._logService.debug(`sending data "${data}"`, data.split('').map(e => e.charCodeAt(0)));
this._logService.debug(`sending data "${data}"`, () => data.split('').map(e => e.charCodeAt(0)));
this._onData.fire(data);
}
}