akmhoque | 3d06e79 | 2014-05-27 16:23:20 -0500 | [diff] [blame^] | 1 | /* -*- Mode:C++; c-file-style:"gnu"; indent-tabs-mode:nil; -*- */ |
| 2 | /** |
| 3 | * Copyright (c) 2014 University of Memphis, |
| 4 | * Regents of the University of California |
| 5 | * |
| 6 | * This file is part of NLSR (Named-data Link State Routing). |
| 7 | * See AUTHORS.md for complete list of NLSR authors and contributors. |
| 8 | * |
| 9 | * NLSR is free software: you can redistribute it and/or modify it under the terms |
| 10 | * of the GNU General Public License as published by the Free Software Foundation, |
| 11 | * either version 3 of the License, or (at your option) any later version. |
| 12 | * |
| 13 | * NLSR is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; |
| 14 | * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR |
| 15 | * PURPOSE. See the GNU General Public License for more details. |
| 16 | * |
| 17 | * You should have received a copy of the GNU General Public License along with |
| 18 | * NLSR, e.g., in COPYING.md file. If not, see <http://www.gnu.org/licenses/>. |
| 19 | * |
| 20 | * \author A K M Mahmudul Hoque <ahoque1@memphis.edu> |
| 21 | * |
| 22 | **/ |
akmhoque | 674b0b1 | 2014-05-20 14:33:28 -0500 | [diff] [blame] | 23 | #include "conf-parameter.hpp" |
| 24 | #include "logger.hpp" |
| 25 | |
| 26 | namespace nlsr { |
| 27 | |
| 28 | INIT_LOGGER("ConfParameter"); |
| 29 | |
| 30 | void |
| 31 | ConfParameter::writeLog() |
| 32 | { |
| 33 | _LOG_DEBUG("Router Name: " << m_routerName); |
| 34 | _LOG_DEBUG("Site Name: " << m_siteName); |
| 35 | _LOG_DEBUG("Network: " << m_network); |
| 36 | _LOG_DEBUG("Router Prefix: " << m_routerPrefix); |
| 37 | _LOG_DEBUG("ChronoSync sync Prifex: " << m_chronosyncPrefix); |
| 38 | _LOG_DEBUG("ChronoSync LSA prefix: " << m_lsaPrefix); |
| 39 | _LOG_DEBUG("Interest Retry number: " << m_interestRetryNumber); |
| 40 | _LOG_DEBUG("Interest Resend second: " << m_interestResendTime); |
| 41 | _LOG_DEBUG("Info Interest Interval: " << m_infoInterestInterval); |
| 42 | _LOG_DEBUG("LSA refresh time: " << m_lsaRefreshTime); |
| 43 | _LOG_DEBUG("Max Faces Per Prefix: " << m_maxFacesPerPrefix); |
| 44 | _LOG_DEBUG("Hyperbolic ROuting: " << m_hyperbolicState); |
| 45 | _LOG_DEBUG("Hyp R: " << m_corR); |
| 46 | _LOG_DEBUG("Hyp theta: " << m_corTheta); |
| 47 | _LOG_DEBUG("Log Directory: " << m_logDir); |
| 48 | _LOG_DEBUG("Seq Directory: " << m_seqFileDir); |
| 49 | } |
| 50 | |
| 51 | } // namespace nlsr |