Wildmeshing Toolkit
Logger.cpp File Reference
#include <wmtk/utils/Logger.hpp>
#include <spdlog/sinks/stdout_color_sinks.h>
#include <spdlog/spdlog.h>
#include <sstream>
Include dependency graph for Logger.cpp:

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)