src/vs/workbench/contrib/logs/common/logsActions.ts/SetLogLevelAction/getDefaultLogLevel
class SetLogLevelAction:	private getDefaultLogLevel(outputChannel: IOutputChannelDescriptor | null): LogLevel {
		let logLevel: LogLevel | undefined;
		if (outputChannel?.extensionId) {
			const logLevelValue = this.environmentService.extensionLogLevel?.find(([id]) => areSameExtensions({ id }, { id: outputChannel.extensionId! }))?.[1];
			if (logLevelValue) {
				logLevel = parseLogLevel(logLevelValue);
			}
		}
		return logLevel ?? getLogLevel(this.environmentService);
	}