13 #include <fmt/format.h>
20 log4cplus::LogLevelManager& log_mgr = log4cplus::getLogLevelManager();
21 log4cplus::LogLevel ll = log_mgr.fromString(token);
22 if (ll == log4cplus::NOT_SET_LOG_LEVEL) {
23 throw std::invalid_argument(fmt::format(
"'{}' is not a valid log level", token));
30 log4cplus::LogLevelManager& log_mgr = log4cplus::getLogLevelManager();
31 std::string ll = log_mgr.toString(level.
value);
37 std::string_view str = trim.m_str;
42 os.write(str.data(), str.size());