| 808 | } |
| 809 | |
| 810 | LogLevel logLevelFromString(std::string_view strLogLevel) noexcept { |
| 811 | auto configLevelIt = stringtools_impl::kLogLevels.find(strLogLevel); |
| 812 | if (configLevelIt != stringtools_impl::kLogLevels.end()) { |
| 813 | return configLevelIt->second; |
| 814 | } |
| 815 | return LogNone; |
| 816 | } |
| 817 | |
| 818 | std::string_view logLevelToString(LogLevel level) noexcept { |
| 819 | for (auto& it : stringtools_impl::kLogLevels) { |