src/vs/workbench/api/common/extHostTelemetry.ts/ExtHostTelemetryLogger/logError
class ExtHostTelemetryLogger:	logError(eventNameOrException: Error | string, data?: Record<string, any>): void {
		if (!this._telemetryEnablements.isErrorsEnabled) {
			return;
		}
		if (typeof eventNameOrException === 'string') {
			this.logEvent(eventNameOrException, data);
		} else {
			// TODO @lramos15, implement cleaning for and logging for this case
			this._appender.logException(eventNameOrException, data);
		}
	}