mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-15 17:41: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
@@ -18,7 +18,7 @@ FairMQExample3Processor::FairMQExample3Processor()
|
||||
|
||||
bool FairMQExample3Processor::HandleData(FairMQMessagePtr& msg, int /*index*/)
|
||||
{
|
||||
LOG(INFO) << "Received data, processing...";
|
||||
LOG(info) << "Received data, processing...";
|
||||
|
||||
// Modify the received string
|
||||
string* text = new std::string(static_cast<char*>(msg->GetData()), msg->GetSize());
|
||||
|
@@ -33,7 +33,7 @@ bool FairMQExample3Sampler::ConditionalRun()
|
||||
// Should only be used for small data because of the cost of an additional copy
|
||||
FairMQMessagePtr msg(NewSimpleMessage("Data"));
|
||||
|
||||
LOG(INFO) << "Sending \"Data\"";
|
||||
LOG(info) << "Sending \"Data\"";
|
||||
|
||||
// in case of error or transfer interruption, return false to go to IDLE state
|
||||
// successfull transfer will return number of bytes transfered (can be 0 if sending an empty message).
|
||||
|
@@ -26,7 +26,7 @@ FairMQExample3Sink::FairMQExample3Sink()
|
||||
// handler is called whenever a message arrives on "data2", with a reference to the message and a sub-channel index (here 0)
|
||||
bool FairMQExample3Sink::HandleData(FairMQMessagePtr& msg, int /*index*/)
|
||||
{
|
||||
LOG(INFO) << "Received: \"" << string(static_cast<char*>(msg->GetData()), msg->GetSize()) << "\"";
|
||||
LOG(info) << "Received: \"" << string(static_cast<char*>(msg->GetData()), msg->GetSize()) << "\"";
|
||||
|
||||
// return true if want to be called again (otherwise go to IDLE state)
|
||||
return true;
|
||||
|
Reference in New Issue
Block a user