mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-24 02:28:34 +01:00
Revert "remove proposed Logger-api, #43275"
This reverts commit 1c72ab243c.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user