rename log macros to comply with ISO C++ standard
refs: #4341
Change-Id: Idb05f59660f42c01a7bf014c6fff4125a28327f2
diff --git a/src/route/name-prefix-table-entry.cpp b/src/route/name-prefix-table-entry.cpp
index 298a2ef..2403003 100644
--- a/src/route/name-prefix-table-entry.cpp
+++ b/src/route/name-prefix-table-entry.cpp
@@ -55,7 +55,7 @@
m_rteList.erase(iterator);
}
else {
- _LOG_ERROR("Routing entry for: " << entryPtr->getDestination()
+ NLSR_LOG_ERROR("Routing entry for: " << entryPtr->getDestination()
<< " not found in NPT entry: " << getNamePrefix());
}
return entryPtr->getUseCount();
@@ -81,10 +81,10 @@
void
NamePrefixTableEntry::writeLog()
{
- _LOG_DEBUG("Name: " << m_namePrefix);
+ NLSR_LOG_DEBUG("Name: " << m_namePrefix);
for (auto it = m_rteList.begin(); it != m_rteList.end(); ++it) {
- _LOG_DEBUG("Destination: " << (*it)->getDestination());
- _LOG_DEBUG("Nexthops: ");
+ NLSR_LOG_DEBUG("Destination: " << (*it)->getDestination());
+ NLSR_LOG_DEBUG("Nexthops: ");
(*it)->getNexthopList().writeLog();
}
m_nexthopList.writeLog();