Skip to content

Commit

Permalink
Replaced yInfo with log()->info()
Browse files Browse the repository at this point in the history
  • Loading branch information
nicktrem committed Feb 29, 2024
1 parent 26f7a3a commit 0392a04
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions devices/YarpRobotLoggerDevice/src/YarpRobotLoggerDevice.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ bool YarpRobotLoggerDevice::open(yarp::os::Searchable& config)
sendDataRT = params->getParameter("remote", remote);
if (sendDataRT)
{
yInfo() << "Activating Real Time Logging on yarp port: " << remote;
log()->info("{} Activating Real Time Logging on yarp port: {}", logPrefix, remote);
initMetadataFunction = &BipedalLocomotion::YarpRobotLoggerDevice::addChannelAndMetadata;
loggingDataFunction = &BipedalLocomotion::YarpRobotLoggerDevice::storeAndSendLoggingData;
if (!m_vectorCollectionRTDataServer.initialize(params))
Expand All @@ -146,7 +146,7 @@ bool YarpRobotLoggerDevice::open(yarp::os::Searchable& config)
}
else
{
yInfo() << "Real time logging not activated";
log()->info("{} Real time logging not activated", logPrefix);
initMetadataFunction = &BipedalLocomotion::YarpRobotLoggerDevice::addChannel;
loggingDataFunction = &BipedalLocomotion::YarpRobotLoggerDevice::storeLoggingData;
}
Expand Down

0 comments on commit 0392a04

Please sign in to comment.