refactor(liblogging): changed SERiF to use liblogging
This commit is contained in:
@@ -24,6 +24,8 @@
|
||||
#include <string>
|
||||
#include "config.h"
|
||||
#include "probe.h"
|
||||
#include "quill/Logger.h"
|
||||
#include "logging.h"
|
||||
|
||||
|
||||
/**
|
||||
@@ -70,7 +72,7 @@ namespace serif::polytrope {
|
||||
virtual void AssembleElementGrad (const mfem::FiniteElement &el, mfem::ElementTransformation &Trans, const mfem::Vector &elfun, mfem::DenseMatrix &elmat) override;
|
||||
private:
|
||||
serif::config::Config& m_config = serif::config::Config::getInstance();
|
||||
serif::probe::LogManager& m_logManager = serif::probe::LogManager::getInstance();
|
||||
fourdst::logging::LogManager& m_logManager = fourdst::logging::LogManager::getInstance();
|
||||
quill::Logger* m_logger = m_logManager.getLogger("log");
|
||||
double m_polytropicIndex;
|
||||
double m_epsilon;
|
||||
|
||||
@@ -25,6 +25,8 @@
|
||||
#include <memory>
|
||||
|
||||
#include "probe.h"
|
||||
#include "logging.h"
|
||||
#include "quill/Logger.h"
|
||||
|
||||
namespace serif::polytrope {
|
||||
|
||||
@@ -291,7 +293,7 @@ public:
|
||||
|
||||
private:
|
||||
// --- Logging ---
|
||||
serif::probe::LogManager& m_logManager = serif::probe::LogManager::getInstance(); ///< Reference to the global log manager.
|
||||
fourdst::logging::LogManager& m_logManager = fourdst::logging::LogManager::getInstance(); ///< Reference to the global log manager.
|
||||
quill::Logger* m_logger = m_logManager.getLogger("log"); ///< Pointer to the specific logger instance.
|
||||
|
||||
// --- Input Bilinear/Nonlinear Forms (owned) ---
|
||||
|
||||
Reference in New Issue
Block a user