4 #include <fmt/ranges.h>
5 #include <spdlog/spdlog.h>
43 template <
typename... Args>
void set_opt_logger(std::shared_ptr< spdlog::logger > x)
Setup a logger object to be used by WildmeshToolkit optimization.
bool has_user_overloaded_logger_level()
void set_logger(std::shared_ptr< spdlog::logger > x)
Setup a logger object to be used by WildmeshToolkit.
void log_and_throw_error(const std::string &msg)
spdlog::logger & logger()
Retrieves the current logger.
spdlog::logger & opt_logger()
Retrieves the logger for the optimization.