diff options
Diffstat (limited to 'AudioManagerCore/test/AmRouterTest/CAmRouterTest.cpp')
-rw-r--r-- | AudioManagerCore/test/AmRouterTest/CAmRouterTest.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/AudioManagerCore/test/AmRouterTest/CAmRouterTest.cpp b/AudioManagerCore/test/AmRouterTest/CAmRouterTest.cpp index ea1f452..604d15a 100644 --- a/AudioManagerCore/test/AmRouterTest/CAmRouterTest.cpp +++ b/AudioManagerCore/test/AmRouterTest/CAmRouterTest.cpp @@ -22,7 +22,7 @@ #include "CAmRouterTest.h" #include <string.h> -#include "CAmDltWrapper.h" +#include "CAmLogWrapper.h" #include "CAmCommandLineSingleton.h" using namespace am; @@ -1974,7 +1974,8 @@ int main(int argc, char **argv) catch (TCLAP::ArgException &e) // catch any exceptions { std::cerr << "error: " << e.error() << " for arg " << e.argId() << std::endl; } CAmCommandLineSingleton::instance()->preparse(argc,argv); - CAmDltWrapper::instanctiateOnce("RTEST","Router Test",enableDebug.getValue(),CAmDltWrapper::logDestination::DAEMON); + CAmLogWrapper::instantiateOnce("RTEST","Router Test" + ,enableDebug.getValue() ? LS_ON : LS_OFF, LOG_SERVICE_DLT); logInfo("Routing Test started "); ::testing::InitGoogleTest(&argc, argv); return RUN_ALL_TESTS(); |