mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-16 01:51:45 +00:00
convert log severities use to lowercase and remove use of MQLOG
This commit is contained in:
committed by
Mohammad Al-Turany
parent
500d509324
commit
2c2fc8e0a6
@@ -33,11 +33,11 @@ void FairMQExample5Server::InitTask()
|
||||
|
||||
bool FairMQExample5Server::HandleData(FairMQMessagePtr& request, int /*index*/)
|
||||
{
|
||||
LOG(INFO) << "Received request from client: \"" << string(static_cast<char*>(request->GetData()), request->GetSize()) << "\"";
|
||||
LOG(info) << "Received request from client: \"" << string(static_cast<char*>(request->GetData()), request->GetSize()) << "\"";
|
||||
|
||||
string* text = new string("Thank you for the \"" + string(static_cast<char*>(request->GetData()), request->GetSize()) + "\"!");
|
||||
|
||||
LOG(INFO) << "Sending reply to client.";
|
||||
LOG(info) << "Sending reply to client.";
|
||||
|
||||
FairMQMessagePtr reply(NewMessage(const_cast<char*>(text->c_str()), // data
|
||||
text->length(), // size
|
||||
@@ -48,7 +48,7 @@ bool FairMQExample5Server::HandleData(FairMQMessagePtr& request, int /*index*/)
|
||||
{
|
||||
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