Skip to content

Commit

Permalink
Add info logs when files are loaded
Browse files Browse the repository at this point in the history
  • Loading branch information
payetvin committed Dec 31, 2024
1 parent cbe01b2 commit 267d5fa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/solver/modeler/loadFiles/readLibraries.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ std::vector<Study::SystemModel::Library> loadLibraries(const fs::path& studyPath
}

libraries.push_back(loadSingleLibrary(entry.path()));
logs.info() << "Library loaded: " << libraries.back().Id();
}

return libraries;
Expand Down
3 changes: 3 additions & 0 deletions src/solver/modeler/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,11 @@ int main(int argc, const char** argv)
try
{
const auto parameters = LoadFiles::loadParameters(studyPath);
logs.info() << "Parameters loaded";
const auto libraries = LoadFiles::loadLibraries(studyPath);
logs.info() << "Libraries loaded";
const auto system = LoadFiles::loadSystem(studyPath, libraries);
logs.info() << "System loaded";
}
catch (const LoadFiles::ErrorLoadingYaml&)
{
Expand Down

0 comments on commit 267d5fa

Please sign in to comment.