| 43 | } |
| 44 | |
| 45 | inline bool iequals(const std::string &a, const std::string &b) { |
| 46 | return to_lower(a) == to_lower(b); |
| 47 | } |
| 48 | |
| 49 | GlobalConfig::LogLevel str_to_loglevel(const std::string &s) { |
| 50 | if (iequals(s, "debug")) return GlobalConfig::LogLevel::kDebug; |
no test coverage detected