21 static std::vector<std::string> allowed_log_levels{
"none",
"error",
"warn",
22 "info",
"debug",
"all"};
23 static auto* allowed_log_levels_vals =
24 new TCLAP::ValuesConstraint<std::string>(allowed_log_levels);
26 return std::make_unique<TCLAP::ValueArg<std::string>>(
27 "l",
"log-level",
"the verbosity of logging messages",
false,
33 allowed_log_levels_vals);