default_logger->set_level(default_level_); spdlog::register_logger(default_logger);for(autopair : levels_) {autologger =std::make_shared<spdlog::logger>(pair.first, default_sinks_.begin(), default_sinks_.end()); spdlog::register_logger(logger); logger->set_level(pair.second); } } 开发...