summaryrefslogtreecommitdiff
path: root/AudioManagerCore/test/AmRouterTest/CAmRouterTest.cpp
diff options
context:
space:
mode:
authorMartin Koch <51775589+mkoch-aditg@users.noreply.github.com>2020-02-10 08:08:28 +0100
committerGitHub <noreply@github.com>2020-02-10 08:08:28 +0100
commitce23c6757e083040ce05c1ad758ba25caf98b44f (patch)
tree20c36aab9ca43ad651565bec2e7c8db6eee92a2b /AudioManagerCore/test/AmRouterTest/CAmRouterTest.cpp
parent86963abab32af54f7fe1244a727d3340ddeb5450 (diff)
parent56b7b1883c354b78ab6cff5739ddd2f170603324 (diff)
downloadaudiomanager-ce23c6757e083040ce05c1ad758ba25caf98b44f.tar.gz
Merge pull request #48 from GENIVI/LoggingArchitecture
AM-Utils: Introduce new logging architecture, providing a common DLT-independant wrapper for the 3 logging channels (DLT, file and stdout)
Diffstat (limited to 'AudioManagerCore/test/AmRouterTest/CAmRouterTest.cpp')
-rw-r--r--AudioManagerCore/test/AmRouterTest/CAmRouterTest.cpp5
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();