util: rename NDN_CXX_LOG_* macros to NDN_LOG_*
refs #3562
Change-Id: I7366d20e064d483a852c39def523644950d2f2e3
diff --git a/tests/unit-tests/util/log-module2.cpp b/tests/unit-tests/util/log-module2.cpp
index 550aa53..37e86d0 100644
--- a/tests/unit-tests/util/log-module2.cpp
+++ b/tests/unit-tests/util/log-module2.cpp
@@ -18,9 +18,10 @@
*
* See AUTHORS.md for complete list of ndn-cxx authors and contributors.
*/
+
#include "util/logger.hpp"
-NDN_CXX_LOG_INIT(Module2);
+NDN_LOG_INIT(Module2);
namespace ndn {
namespace util {
@@ -29,12 +30,12 @@
void
logFromModule2()
{
- NDN_CXX_LOG_TRACE("trace" << 2);
- NDN_CXX_LOG_DEBUG("debug" << 2);
- NDN_CXX_LOG_INFO("info" << 2);
- NDN_CXX_LOG_WARN("warn" << 2);
- NDN_CXX_LOG_ERROR("error" << 2);
- NDN_CXX_LOG_FATAL("fatal" << 2);
+ NDN_LOG_TRACE("trace" << 2);
+ NDN_LOG_DEBUG("debug" << 2);
+ NDN_LOG_INFO("info" << 2);
+ NDN_LOG_WARN("warn" << 2);
+ NDN_LOG_ERROR("error" << 2);
+ NDN_LOG_FATAL("fatal" << 2);
}
} // namespace tests