mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-24 02:28:34 +01:00
remove proposed Logger-api, #43275
we keep the LogLevel-enum and the plan is to accept the log level when calling OutputChannel#appendLine so that logging is supported there
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user