mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-24 10:38:59 +01:00
Move logDirectory to ExtensionContext (#45922)
* Move the logDirectory to extensionContext Moves the proposed `logDirectory` to `ExtensionContext` and make it synchronous * Use string for path instead of URI
This commit is contained in:
@@ -356,6 +356,10 @@ export class ExtHostExtensionService implements ExtHostExtensionServiceShape {
|
||||
get logger() {
|
||||
checkProposedApiEnabled(extensionDescription);
|
||||
return that._extHostLogService.getExtLogger(extensionDescription.id);
|
||||
},
|
||||
get logDirectory() {
|
||||
checkProposedApiEnabled(extensionDescription);
|
||||
return that._extHostLogService.getLogDirectory(extensionDescription.id);
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user