extensions/git/src/commands.ts/CommandCenter/setLogLevel
class CommandCenter:	async setLogLevel(): Promise<void> {
		const createItem = (logLevel: LogLevel) => {
			let description: string | undefined;
			const defaultDescription = localize('default', "Default");
			const currentDescription = localize('current', "Current");

			if (logLevel === this.outputChannelLogger.defaultLogLevel && logLevel === this.outputChannelLogger.currentLogLevel) {
				description = `${defaultDescription} & ${currentDescription} `;
			} else if (logLevel === this.outputChannelLogger.defaultLogLevel) {
				description = defaultDescription;
			} else if (logLevel === this.outputChannelLogger.currentLogLevel) {
				description = currentDescription;
			}

			return {
				label: LogLevel[logLevel],
				logLevel,
				description
			};
		};

		const items = [
			createItem(LogLevel.Trace),
			createItem(LogLevel.Debug),
			createItem(LogLevel.Info),
			createItem(LogLevel.Warning),
			createItem(LogLevel.Error),
			createItem(LogLevel.Critical),
			createItem(LogLevel.Off)
		];

		const choice = await window.showQuickPick(items, {
			placeHolder: localize('select log level', "Select log level")
		});

		if (!choice) {
			return;
		}

		this.outputChannelLogger.currentLogLevel = choice.logLevel;
	}