Archived
1
0

Pass log level to extension host

This commit is contained in:
Asher 2019-09-23 10:49:51 -05:00
parent 7812f6b75a
commit 65caa26d40
No known key found for this signature in database
GPG Key ID: D63C1EF81242354A

View File

@ -123,6 +123,7 @@ export class ExtensionHostConnection extends Connection {
VSCODE_EXTHOST_WILL_SEND_SOCKET: "true", VSCODE_EXTHOST_WILL_SEND_SOCKET: "true",
VSCODE_HANDLES_UNCAUGHT_ERRORS: "true", VSCODE_HANDLES_UNCAUGHT_ERRORS: "true",
VSCODE_LOG_STACK: "false", VSCODE_LOG_STACK: "false",
VSCODE_LOG_LEVEL: this.environment.verbose ? "trace" : this.environment.log,
VSCODE_NLS_CONFIG: JSON.stringify(config), VSCODE_NLS_CONFIG: JSON.stringify(config),
}, },
silent: true, silent: true,