Skip to content

Commit 76ecc2b

Browse files
committed
Logging
1 parent 3578db7 commit 76ecc2b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/dsm/headers/Dynamics.hpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,8 @@ namespace dsm {
9393
auto path = SparseMatrix<bool>{};
9494
path.load(file);
9595
pItinerary->setPath(std::move(path));
96+
Logger::info(
97+
std::format("Loaded cached path for itinerary {}", pItinerary->id()));
9698
return;
9799
}
98100
}
@@ -143,6 +145,8 @@ namespace dsm {
143145
if (m_bCacheEnabled) {
144146
pItinerary->path().cache(
145147
std::format("{}it{}.dsmcache", g_cacheFolder, pItinerary->id()));
148+
Logger::info(
149+
std::format("Saved path in cache for itinerary {}", pItinerary->id()));
146150
}
147151
}
148152

0 commit comments

Comments
 (0)