refactor(liblogging): changed SERiF to use liblogging
This commit is contained in:
@@ -4,7 +4,6 @@ subdir('fourdst')
|
||||
|
||||
subdir('mfem')
|
||||
subdir('yaml-cpp')
|
||||
subdir('quill')
|
||||
subdir('boost')
|
||||
subdir('opatIO')
|
||||
subdir('mpi')
|
||||
|
||||
@@ -8,9 +8,10 @@ composition_headers = files(
|
||||
)
|
||||
|
||||
dependencies = [
|
||||
probe_dep,
|
||||
quill_dep,
|
||||
species_weight_dep
|
||||
species_weight_dep,
|
||||
logging_dep,
|
||||
config_dep,
|
||||
]
|
||||
|
||||
# Define the libcomposition library so it can be linked against by other parts of the build system
|
||||
|
||||
@@ -27,11 +27,12 @@
|
||||
|
||||
#include <utility>
|
||||
|
||||
#include "probe.h"
|
||||
#include "config.h"
|
||||
|
||||
#include "atomicSpecies.h"
|
||||
|
||||
#include "logging.h"
|
||||
|
||||
namespace serif::composition {
|
||||
struct CanonicalComposition {
|
||||
double X = 0.0; ///< Mass fraction of Hydrogen.
|
||||
@@ -216,7 +217,7 @@ namespace serif::composition {
|
||||
class Composition {
|
||||
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");
|
||||
|
||||
bool m_finalized = false; ///< True if the composition is finalized.
|
||||
|
||||
Reference in New Issue
Block a user