extensions/typescript-language-features/src/utils/logLevelMonitor.ts/LogLevelMonitor/notifyExtendedLogging
class LogLevelMonitor:	private notifyExtendedLogging() {
		const enum Choice {
			DisableLogging = 0,
			DoNotShowAgain = 1
		}
		interface Item extends vscode.MessageItem {
			readonly choice: Choice;
		}

		vscode.window.showInformationMessage<Item>(
			localize(
				'typescript.extendedLogging.isEnabled',
				"TS Server logging is currently enabled which may impact performance."),
			{
				title: localize(
					'typescript.extendedLogging.disableLogging',
					"Disable logging"),
				choice: Choice.DisableLogging
			},
			{
				title: localize(
					'typescript.extendedLogging.doNotShowAgain',
					"Don't show again"),
				choice: Choice.DoNotShowAgain
			})
			.then(selection => {
				if (!selection) {
					return;
				}
				if (selection.choice === Choice.DisableLogging) {
					return vscode.workspace.getConfiguration().update(LogLevelMonitor.logLevelConfigKey, 'off', true);
				} else if (selection.choice === Choice.DoNotShowAgain) {
					return this.context.globalState.update(LogLevelMonitor.doNotPromptLogLevelStorageKey, true);
				}
				return;
			});
	}