Revert "remove proposed Logger-api, #43275"

This reverts commit 1c72ab243c.
This commit is contained in:
Johannes Rieken
2018-08-17 11:04:35 +02:00
parent e877248059
commit 315cce8314
5 changed files with 73 additions and 4 deletions

View File

@@ -361,6 +361,10 @@ export class ExtHostExtensionService implements ExtHostExtensionServiceShape {
get extensionPath() { return extensionDescription.extensionLocation.fsPath; },
storagePath: this._storagePath.value(extensionDescription),
asAbsolutePath: (relativePath: string) => { return join(extensionDescription.extensionLocation.fsPath, relativePath); },
get logger() {
checkProposedApiEnabled(extensionDescription);
return that._extHostLogService.getExtLogger(extensionDescription.id);
},
get logDirectory() {
console.warn(`this PROPOSED API has been RENAMED to 'logPath'`);
checkProposedApiEnabled(extensionDescription);