src/vs/platform/telemetry/common/serverTelemetryService.ts/ServerTelemetryService/publicLogError
class ServerTelemetryService:	override publicLogError(errorEventName: string, data?: ITelemetryData): Promise<void> {
		if (this._injectedTelemetryLevel === undefined) {
			// Undefined safety with cache in case super class calls log before cache is initialized in subclass constructor
			this._telemetryCache?.push({ eventName: errorEventName, data, eventType: 'error' });
			return Promise.resolve();
		}
		if (this._injectedTelemetryLevel < TelemetryLevel.ERROR) {
			return Promise.resolve(undefined);
		}
		return super.publicLogError(errorEventName, data);
	}