|
PolyFEM
|
#include "Logger.hpp"#include <polyfem/utils/DisableWarnings.hpp>#include <spdlog/sinks/stdout_color_sinks.h>#include <polyfem/utils/EnableWarnings.hpp>#include <sstream>Go to the source code of this file.
Namespaces | |
| namespace | polyfem |
Functions | |
| spdlog::logger & | polyfem::adjoint_logger () |
| Retrieves the current logger for adjoint. | |
| spdlog::logger & | polyfem::logger () |
| Retrieves the current logger. | |
| void | polyfem::set_logger (std::shared_ptr< spdlog::logger > logger) |
| Setup a logger object to be used by Polyfem. | |
| void | polyfem::set_adjoint_logger (std::shared_ptr< spdlog::logger > logger) |
| Setup a logger object to be used by adjoint Polyfem. | |
| void | polyfem::log_and_throw_error (const std::string &msg) |
| void | polyfem::log_and_throw_adjoint_error (const std::string &msg) |