private static void GetArgs(CommandArguments args) { var newLog = args.TryGetValue("log", CurrentLogLevel); if (newLog != CurrentLogLevel) { CurrentLogLevel = newLog; Info($"Logging level is " + CurrentLogLevel); } PromptUser = !args.HasKey(PARAM_Y); }