src/vs/workbench/contrib/terminal/browser/terminalInstance.ts/TerminalInstance/setEscapeSequenceLogging
class TerminalInstance:	async setEscapeSequenceLogging(enable: boolean): Promise<void> {
		const xterm = await this._xtermReadyPromise;
		xterm.raw.options.logLevel = enable ? 'debug' : 'info';
	}