We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 07fd9ba commit abc5ac7Copy full SHA for abc5ac7
1 file changed
knp/base-framework/impl/logging.cpp
@@ -78,7 +78,7 @@ Level str_to_level(std::string_view str)
78
return none;
79
}
80
if (str == "none") return none;
81
- const auto level = spdlog::level::from_str(str.begin());
+ const auto level = spdlog::level::from_str(std::string(str));
82
if (level == spdlog::level::off)
83
{
84
SPDLOG_ERROR("Could not convert string to level.");
0 commit comments