base: Adding logging framework
Change-Id: I85f3f6ce866ef724e2dc71cb489067ed93466c93
Refs: #1828
diff --git a/tests/main.cpp b/tests/main.cpp
index eec5adb..7d606e7 100644
--- a/tests/main.cpp
+++ b/tests/main.cpp
@@ -21,3 +21,24 @@
#define BOOST_TEST_DYN_LINK 1
#include <boost/test/unit_test.hpp>
+
+#include "logger.hpp"
+
+namespace ndn {
+namespace ndns {
+namespace tests {
+
+class UnitTestsLogging
+{
+public:
+ UnitTestsLogging()
+ {
+ log::init("unit-tests.log4cxx");
+ }
+};
+
+BOOST_GLOBAL_FIXTURE(UnitTestsLogging)
+
+} // namespace tests
+} // namespace ndns
+} // namespace ndn