add ExtensionContext#logPath, #43275

This commit is contained in:
Johannes Rieken
2018-08-17 09:30:18 +02:00
parent fd610b4b6a
commit bbfcc67dc9
3 changed files with 11 additions and 1 deletions

View File

@@ -366,9 +366,11 @@ export class ExtHostExtensionService implements ExtHostExtensionServiceShape {
return that._extHostLogService.getExtLogger(extensionDescription.id);
},
get logDirectory() {
console.warn(`this PROPOSED API has been RENAMED to 'logPath'`);
checkProposedApiEnabled(extensionDescription);
return that._extHostLogService.getLogDirectory(extensionDescription.id);
}
},
logPath: that._extHostLogService.getLogDirectory(extensionDescription.id)
});
});
}