rename log macros to comply with ISO C++ standard
refs: #4341
Change-Id: Idb05f59660f42c01a7bf014c6fff4125a28327f2
diff --git a/src/publisher/lsdb-dataset-interest-handler.cpp b/src/publisher/lsdb-dataset-interest-handler.cpp
index 7a4ba1c..53cdfbc 100644
--- a/src/publisher/lsdb-dataset-interest-handler.cpp
+++ b/src/publisher/lsdb-dataset-interest-handler.cpp
@@ -54,7 +54,7 @@
, m_localhostDispatcher(localHostDispatcher)
, m_routerNameDispatcher(routerNameDispatcher)
{
- _LOG_DEBUG("Setting dispatcher for lsdb status dataset:");
+ NLSR_LOG_DEBUG("Setting dispatcher for lsdb status dataset:");
setDispatcher(m_localhostDispatcher);
setDispatcher(m_routerNameDispatcher);
}
@@ -80,7 +80,7 @@
LsdbDatasetInterestHandler::publishAdjStatus(const ndn::Name& topPrefix, const ndn::Interest& interest,
ndn::mgmt::StatusDatasetContext& context)
{
- _LOG_DEBUG("Received interest: " << interest);
+ NLSR_LOG_DEBUG("Received interest: " << interest);
auto lsaRange = std::make_pair<std::list<AdjLsa>::const_iterator,
std::list<AdjLsa>::const_iterator>(
@@ -111,7 +111,7 @@
std::list<CoordinateLsa>::const_iterator>(
m_lsdb.getCoordinateLsdb().cbegin(), m_lsdb.getCoordinateLsdb().cend());
- _LOG_DEBUG("Received interest: " << interest);
+ NLSR_LOG_DEBUG("Received interest: " << interest);
for (auto lsa = lsaRange.first; lsa != lsaRange.second; lsa++) {
tlv::CoordinateLsa tlvLsa;
std::shared_ptr<tlv::LsaInfo> tlvLsaInfo = tlv::makeLsaInfo(*lsa);
@@ -132,7 +132,7 @@
{
auto lsaRange = std::make_pair<std::list<NameLsa>::const_iterator, std::list<NameLsa>::const_iterator>(
m_lsdb.getNameLsdb().cbegin(), m_lsdb.getNameLsdb().cend());
- _LOG_DEBUG("Received interest: " << interest);
+ NLSR_LOG_DEBUG("Received interest: " << interest);
for (auto lsa = lsaRange.first; lsa != lsaRange.second; lsa++) {
tlv::NameLsa tlvLsa;
@@ -153,7 +153,7 @@
LsdbDatasetInterestHandler::publishAllStatus(const ndn::Name& topPrefix, const ndn::Interest& interest,
ndn::mgmt::StatusDatasetContext& context)
{
- _LOG_DEBUG("Received interest: " << interest);
+ NLSR_LOG_DEBUG("Received interest: " << interest);
tlv::LsdbStatus lsdbStatus;
for (const tlv::AdjacencyLsa& tlvLsa : getTlvLsas<tlv::AdjacencyLsa>(m_lsdb)) {
lsdbStatus.addAdjacencyLsa(tlvLsa);