src/vs/workbench/api/common/extHostConsoleForwarder.ts/AbstractExtHostConsoleForwarder/_wrapConsoleMethod
class AbstractExtHostConsoleForwarder:	private _wrapConsoleMethod(method: 'log' | 'info' | 'warn' | 'error', severity: 'log' | 'warn' | 'error') {
		const that = this;
		const original = console[method];

		Object.defineProperty(console, method, {
			set: () => { },
			get: () => function () {
				that._handleConsoleCall(method, severity, original, arguments);
			},
		});
	}