mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-17 02:21:47 +00:00
convert log severities use to lowercase and remove use of MQLOG
This commit is contained in:
@@ -50,17 +50,17 @@ bool FairMQExample5Client::ConditionalRun()
|
||||
text)); // object that manages the data
|
||||
FairMQMessagePtr reply(NewMessage());
|
||||
|
||||
LOG(INFO) << "Sending \"" << fText << "\" to server.";
|
||||
LOG(info) << "Sending \"" << fText << "\" to server.";
|
||||
|
||||
if (Send(request, "data") > 0)
|
||||
{
|
||||
if (Receive(reply, "data") >= 0)
|
||||
{
|
||||
LOG(INFO) << "Received reply from server: \"" << string(static_cast<char*>(reply->GetData()), reply->GetSize()) << "\"";
|
||||
LOG(info) << "Received reply from server: \"" << string(static_cast<char*>(reply->GetData()), reply->GetSize()) << "\"";
|
||||
|
||||
if (fMaxIterations > 0 && ++fNumIterations >= fMaxIterations)
|
||||
{
|
||||
LOG(INFO) << "Configured maximum number of iterations reached. Leaving RUNNING state.";
|
||||
LOG(info) << "Configured maximum number of iterations reached. Leaving RUNNING state.";
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user