Improve logging

This commit is contained in:
Alex Dima
2021-10-14 22:45:13 +02:00
parent 25b9d7dc82
commit 4bba4f2554
4 changed files with 10 additions and 9 deletions

View File

@@ -621,8 +621,8 @@ export abstract class AbstractExtHostExtensionService extends Disposable impleme
}
public async $extensionTestsExit(code: number): Promise<void> {
this._logService.info(`extension host terminating: test runner requested exit with code ${code}`);
this._logService.info(`exiting with code ${code}`);
this._logService.info(`Extension host terminating: test runner requested exit with code ${code}`);
this._logService.info(`Extension host with pid ${process.pid} exiting with code ${code}`);
this._logService.flush();
this._hostUtils.exit(code);
}
@@ -638,7 +638,7 @@ export abstract class AbstractExtHostExtensionService extends Disposable impleme
.then(() => this._handleEagerExtensions())
.then(() => {
this._eagerExtensionsActivated.open();
this._logService.info(`eager extensions activated`);
this._logService.info(`Eager extensions activated`);
});
}