Skip to content

Commit

Permalink
Removed useless "s"s when printing time in logger
Browse files Browse the repository at this point in the history
  • Loading branch information
S-Dafarra committed Jan 13, 2025
1 parent d9955c2 commit ccce521
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions devices/YarpRobotLoggerDevice/src/YarpRobotLoggerDevice.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1461,7 +1461,7 @@ void YarpRobotLoggerDevice::recordVideo(const std::string& cameraName, VideoWrit
if (wakeUpTime < endTime)
{
log()->info("{} The video thread spent more time than expected to save the camera "
"named: {}. Expected: {}s. Measured: {}s. Nominal: {}s.",
"named: {}. Expected: {}. Measured: {}. Nominal: {}.",
logPrefix,
cameraName,
std::chrono::duration<double>(wakeUpTime - time),
Expand Down Expand Up @@ -1873,7 +1873,7 @@ bool YarpRobotLoggerDevice::saveCallback(const std::string& fileName,
return false;
}

log()->info("{} Saved video {}_{}_{} in {}s.",
log()->info("{} Saved video {}_{}_{} in {}.",
fileName,
camera,
"rgb",
Expand Down Expand Up @@ -1921,7 +1921,7 @@ bool YarpRobotLoggerDevice::saveCallback(const std::string& fileName,
return false;
}

log()->info("{} Saved video {}_{}_{} in {}s.",
log()->info("{} Saved video {}_{}_{} in {}.",
fileName,
camera,
"rgb",
Expand All @@ -1937,7 +1937,7 @@ bool YarpRobotLoggerDevice::saveCallback(const std::string& fileName,
return false;
}

log()->info("{} Saved video {}_{}_{} in {}s.",
log()->info("{} Saved video {}_{}_{} in {}.",
fileName,
camera,
"depth",
Expand Down Expand Up @@ -2030,7 +2030,7 @@ bool YarpRobotLoggerDevice::saveCallback(const std::string& fileName,
}

file.close();
log()->info("{} Status of the code saved to file {} in {}s.",
log()->info("{} Status of the code saved to file {} in {}.",
logPrefix,
fileName + ".md",
std::chrono::duration<double>(BipedalLocomotion::clock().now() - start));
Expand Down Expand Up @@ -2094,7 +2094,7 @@ bool YarpRobotLoggerDevice::saveData()

m_bufferManager.saveToFile(fileName);

log()->info("{} Data saved to file {}.mat in {}s.",
log()->info("{} Data saved to file {}.mat in {}.",
logPrefix,
fileName,
std::chrono::duration<double>(BipedalLocomotion::clock().now() - start));
Expand Down

0 comments on commit ccce521

Please sign in to comment.