blob: f45fea7301764178f994fc2a4225412688e406e5 [file] [log] [blame]
akmhoque3d06e792014-05-27 16:23:20 -05001/* -*- 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 **/
akmhoque674b0b12014-05-20 14:33:28 -050023#include "conf-parameter.hpp"
24#include "logger.hpp"
25
26namespace nlsr {
27
28INIT_LOGGER("ConfParameter");
29
30void
31ConfParameter::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);
Alexander Afanasyev411ee4b2014-08-16 23:17:03 -070039 _LOG_DEBUG("Hello Interest retry number: " << m_interestRetryNumber);
40 _LOG_DEBUG("Hello Interest resend second: " << m_interestResendTime);
41 _LOG_DEBUG("Info Interest interval: " << m_infoInterestInterval);
akmhoque674b0b12014-05-20 14:33:28 -050042 _LOG_DEBUG("LSA refresh time: " << m_lsaRefreshTime);
Alexander Afanasyev411ee4b2014-08-16 23:17:03 -070043 _LOG_DEBUG("LSA Interest lifetime: " << getLsaInterestLifetime());
akmhoque674b0b12014-05-20 14:33:28 -050044 _LOG_DEBUG("Max Faces Per Prefix: " << m_maxFacesPerPrefix);
45 _LOG_DEBUG("Hyperbolic ROuting: " << m_hyperbolicState);
46 _LOG_DEBUG("Hyp R: " << m_corR);
47 _LOG_DEBUG("Hyp theta: " << m_corTheta);
48 _LOG_DEBUG("Log Directory: " << m_logDir);
49 _LOG_DEBUG("Seq Directory: " << m_seqFileDir);
50}
51
52} // namespace nlsr