Skip to content

Commit

Permalink
Adopt ILogger.flush() (#80862)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexdima committed Sep 30, 2019
1 parent 215df67 commit fe9e05d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/vs/workbench/api/common/extHostExtensionService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -327,6 +327,7 @@ export abstract class AbstractExtHostExtensionService implements ExtHostExtensio
}

this._logService.info(`ExtensionService#_doActivateExtension ${extensionDescription.identifier.value} ${JSON.stringify(reason)}`);
this._logService.flush();

const activationTimesBuilder = new ExtensionActivationTimesBuilder(reason.startup);
return Promise.all([
Expand Down
1 change: 1 addition & 0 deletions src/vs/workbench/api/node/extHostExtensionService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ export class ExtHostExtensionService extends AbstractExtHostExtensionService {
let r: T | null = null;
activationTimesBuilder.codeLoadingStart();
this._logService.info(`ExtensionService#loadCommonJSModule ${module.toString(true)}`);
this._logService.flush();
try {
r = require.__$__nodeRequire<T>(module.fsPath);
} catch (e) {
Expand Down

0 comments on commit fe9e05d

Please sign in to comment.