Revert "Revert "remove proposed Logger-api, #43275""

This reverts commit 315cce8314.
This commit is contained in:
Johannes Rieken
2018-08-20 15:31:33 +02:00
parent 4bf5813f79
commit 66205890dd
5 changed files with 4 additions and 73 deletions

View File

@@ -361,10 +361,6 @@ 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);