mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-19 04:53:36 +00:00
[generator] Improve logging
- more logging for various stages start/finish - silenced some too repetitive and common warnings (changed to LDEBUG) Signed-off-by: Konstantin Pastbin <konstantin.pastbin@gmail.com>
This commit is contained in:
@@ -130,12 +130,14 @@ void CameraCollector::MergeInto(CameraCollector & collector) const
|
||||
|
||||
void CameraCollector::Save()
|
||||
{
|
||||
LOG(LINFO, ("Saving speed cameras to", GetFilename()));
|
||||
LOG(LINFO, ("Associating speed cameras with ways..."));
|
||||
|
||||
FillCameraInWays();
|
||||
|
||||
LOG(LINFO, ("Saving speed cameras to", GetFilename()));
|
||||
FileWriter writer(GetFilename());
|
||||
ForEachCamera([&](auto const & camera) { CameraInfo::Write(writer, camera); });
|
||||
LOG(LINFO, ("Finished saving speed cameras"));
|
||||
}
|
||||
|
||||
void CameraCollector::OrderCollectedData()
|
||||
|
||||
Reference in New Issue
Block a user