rename log macros to comply with ISO C++ standard
refs: #4341
Change-Id: Idb05f59660f42c01a7bf014c6fff4125a28327f2
diff --git a/src/conf-parameter.cpp b/src/conf-parameter.cpp
index e19fe5e..05a96dd 100644
--- a/src/conf-parameter.cpp
+++ b/src/conf-parameter.cpp
@@ -31,33 +31,33 @@
void
ConfParameter::writeLog()
{
- _LOG_INFO("Router Name: " << m_routerName);
- _LOG_INFO("Site Name: " << m_siteName);
- _LOG_INFO("Network: " << m_network);
- _LOG_INFO("Router Prefix: " << m_routerPrefix);
- _LOG_INFO("ChronoSync sync Prefix: " << m_chronosyncPrefix);
- _LOG_INFO("ChronoSync LSA prefix: " << m_lsaPrefix);
- _LOG_INFO("Hello Interest retry number: " << m_interestRetryNumber);
- _LOG_INFO("Hello Interest resend second: " << m_interestResendTime);
- _LOG_INFO("Info Interest interval: " << m_infoInterestInterval);
- _LOG_INFO("LSA refresh time: " << m_lsaRefreshTime);
- _LOG_INFO("FIB Entry refresh time: " << m_lsaRefreshTime * 2);
- _LOG_INFO("LSA Interest lifetime: " << getLsaInterestLifetime());
- _LOG_INFO("Router dead interval: " << getRouterDeadInterval());
- _LOG_INFO("Max Faces Per Prefix: " << m_maxFacesPerPrefix);
- _LOG_INFO("Hyperbolic Routing: " << m_hyperbolicState);
- _LOG_INFO("Hyp R: " << m_corR);
+ NLSR_LOG_INFO("Router Name: " << m_routerName);
+ NLSR_LOG_INFO("Site Name: " << m_siteName);
+ NLSR_LOG_INFO("Network: " << m_network);
+ NLSR_LOG_INFO("Router Prefix: " << m_routerPrefix);
+ NLSR_LOG_INFO("ChronoSync sync Prefix: " << m_chronosyncPrefix);
+ NLSR_LOG_INFO("ChronoSync LSA prefix: " << m_lsaPrefix);
+ NLSR_LOG_INFO("Hello Interest retry number: " << m_interestRetryNumber);
+ NLSR_LOG_INFO("Hello Interest resend second: " << m_interestResendTime);
+ NLSR_LOG_INFO("Info Interest interval: " << m_infoInterestInterval);
+ NLSR_LOG_INFO("LSA refresh time: " << m_lsaRefreshTime);
+ NLSR_LOG_INFO("FIB Entry refresh time: " << m_lsaRefreshTime * 2);
+ NLSR_LOG_INFO("LSA Interest lifetime: " << getLsaInterestLifetime());
+ NLSR_LOG_INFO("Router dead interval: " << getRouterDeadInterval());
+ NLSR_LOG_INFO("Max Faces Per Prefix: " << m_maxFacesPerPrefix);
+ NLSR_LOG_INFO("Hyperbolic Routing: " << m_hyperbolicState);
+ NLSR_LOG_INFO("Hyp R: " << m_corR);
int i=0;
for (auto const& value: m_corTheta) {
- _LOG_INFO("Hyp Angle " << i++ << ": "<< value);
+ NLSR_LOG_INFO("Hyp Angle " << i++ << ": "<< value);
}
- _LOG_INFO("Log Directory: " << m_logDir);
- _LOG_INFO("Seq Directory: " << m_seqFileDir);
+ NLSR_LOG_INFO("Log Directory: " << m_logDir);
+ NLSR_LOG_INFO("Seq Directory: " << m_seqFileDir);
// Event Intervals
- _LOG_INFO("Adjacency LSA build interval: " << m_adjLsaBuildInterval);
- _LOG_INFO("First Hello Interest interval: " << m_firstHelloInterval);
- _LOG_INFO("Routing calculation interval: " << m_routingCalcInterval);
+ NLSR_LOG_INFO("Adjacency LSA build interval: " << m_adjLsaBuildInterval);
+ NLSR_LOG_INFO("First Hello Interest interval: " << m_firstHelloInterval);
+ NLSR_LOG_INFO("Routing calculation interval: " << m_routingCalcInterval);
}
} // namespace nlsr