Wildmeshing Toolkit
Logger.hpp File Reference
#include <fmt/ranges.h>
#include <spdlog/spdlog.h>
Include dependency graph for Logger.hpp:

Go to the source code of this file.

Namespaces

 wmtk
 

Functions

bool wmtk::has_user_overloaded_logger_level ()
 
spdlog::logger & wmtk::logger ()
 Retrieves the current logger. More...
 
spdlog::logger & wmtk::opt_logger ()
 Retrieves the logger for the optimization. More...
 
void wmtk::set_logger (std::shared_ptr< spdlog::logger > logger)
 Setup a logger object to be used by WildmeshToolkit. More...
 
void wmtk::set_opt_logger (std::shared_ptr< spdlog::logger > logger)
 Setup a logger object to be used by WildmeshToolkit optimization. More...
 
void wmtk::log_and_throw_error (const std::string &msg)
 
template<typename... Args>
void wmtk::log_and_throw_error (const std::string &msg, const Args &... args)