Home
last modified time | relevance | path

Searched refs:mapLogLevelFromName (Results 1 – 2 of 2) sorted by relevance

/openbmc/bmcweb/http/
H A Dlogging.hpp42 constexpr std::array<std::string_view, 7> mapLogLevelFromName{ variable
47 const auto* iter = std::ranges::find(mapLogLevelFromName, name); in getLogLevelFromName()
48 if (iter != mapLogLevelFromName.end()) in getLogLevelFromName()
50 return static_cast<LogLevel>(iter - mapLogLevelFromName.begin()); in getLogLevelFromName()
91 static_assert(stringIndex < mapLogLevelFromName.size(), in vlog()
93 constexpr std::string_view levelString = mapLogLevelFromName[stringIndex]; in vlog()
/openbmc/bmcweb/src/
H A Dwebserver_run.cpp36 std::ranges::find(crow::mapLogLevelFromName, logLevel); in setLogLevel()
37 if (iter == crow::mapLogLevelFromName.end()) in setLogLevel()