nlsr: remove writeLog in NamePrefixList

Change-Id: Id54152684d1aa366b5eec8eeb79c046dedf6da7c
refs: #4131
This commit is contained in:
Nick Gordon committed 2017-06-15 09:15:29 -07:00
1 parent 56d1fae10a
commit 494de4033d
3 files changed
+1 -16

No files matched your search

-12
View File
@@ -89,18 +89,6 @@ NamePrefixList::sort()
m_nameList.sort();
}
void
NamePrefixList::writeLog()
{
_LOG_DEBUG("-------Name Prefix List--------");
int i = 1;
for (std::list<ndn::Name>::iterator it = m_nameList.begin();
it != m_nameList.end(); it++) {
_LOG_DEBUG("Name " << i << " : " << (*it));
i++;
}
}
std::ostream&
operator<<(std::ostream& os, const NamePrefixList& list) {
os << "Name prefix list: {\n";
-3
View File
@@ -75,9 +75,6 @@ public:
bool
operator==(const NamePrefixList& other) const;
void
writeLog();
private:
std::list<ndn::Name> m_nameList;
+1 -1
View File
@@ -237,7 +237,7 @@ Nlsr::initialize()
// Logging start
m_confParam.writeLog();
m_adjacencyList.writeLog();
m_namePrefixList.writeLog();
_LOG_DEBUG(m_namePrefixList);
// Logging end
initializeKey();
setStrategies();