PolyFEM
Loading...
Searching...
No Matches
GeogramUtils.hpp
Go to the documentation of this file.
1#pragma once
2
3#include "Logger.hpp"
4
5namespace polyfem::utils
6{
8 {
9
10 public:
12 {
13 static GeogramUtils singleton;
14
15 return singleton;
16 }
17
18 void initialize();
19
20 void set_logger(spdlog::logger &logger);
21
22 private:
24
25 bool initialized = false;
26 };
27} // namespace polyfem::utils
void set_logger(spdlog::logger &logger)
static GeogramUtils & instance()
spdlog::logger & logger()
Retrieves the current logger.
Definition Logger.cpp:42