utest/utest.cpp
@@ -1,5 +1,6 @@ #include "center.h" #include "defs.h" #include "log.h" #include "util.h" #include <atomic> #include <condition_variable> @@ -8,6 +9,17 @@ #include <thread> #include <vector> namespace { bool InitLog() { ns_log::AddLog("/tmp/bhshmq_test.log", true, true); ns_log::ResetLogLevel(ns_log::LogLevel::debug); return true; } static bool g_test_init_log = InitLog(); } // namespace using namespace bhome_shm; using namespace bhome_msg;