29 static logger_type_t logger_type_singleton_{logger_type_t::text};
31 if (type != logger_type_t::get) {
32 logger_type_singleton_ = type;
35 return logger_type_singleton_;
38std::string to_string(logger_type_t type)
41 case logger_type_t::text:
43 case logger_type_t::json:
45 case logger_type_t::get:
52std::string to_string(spdlog::level::level_enum level)
55 case spdlog::level::level_enum::critical:
57 case spdlog::level::level_enum::debug:
59 case spdlog::level::level_enum::err:
61 case spdlog::level::level_enum::info:
63 case spdlog::level::level_enum::trace:
65 case spdlog::level::level_enum::warn: