summaryrefslogtreecommitdiff
path: root/AudioManagerDaemon/src/ControlSender.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'AudioManagerDaemon/src/ControlSender.cpp')
-rw-r--r--AudioManagerDaemon/src/ControlSender.cpp10
1 files changed, 4 insertions, 6 deletions
diff --git a/AudioManagerDaemon/src/ControlSender.cpp b/AudioManagerDaemon/src/ControlSender.cpp
index ca7ce3a..934f594 100644
--- a/AudioManagerDaemon/src/ControlSender.cpp
+++ b/AudioManagerDaemon/src/ControlSender.cpp
@@ -23,12 +23,10 @@
*/
#include "ControlSender.h"
+#include "PluginTemplate.h"
+#include "DLTWrapper.h"
#include <assert.h>
-#include <dlt/dlt.h>
#include <fstream>
-#include "PluginTemplate.h"
-
-DLT_IMPORT_CONTEXT(AudioManager)
using namespace am;
@@ -41,7 +39,7 @@ ControlSender::ControlSender(std::string controlPluginFile) :
std::ifstream isfile(controlPluginFile.c_str());
if (!isfile)
{
- DLT_LOG(AudioManager, DLT_LOG_ERROR, DLT_STRING("ControlSender::ControlSender: Controller plugin not found:"), DLT_STRING(controlPluginFile.c_str()));
+ logError("ControlSender::ControlSender: Controller plugin not found:",controlPluginFile);
}
else if (!controlPluginFile.empty())
{
@@ -55,7 +53,7 @@ ControlSender::ControlSender(std::string controlPluginFile) :
}
else
{
- DLT_LOG(AudioManager, DLT_LOG_ERROR, DLT_STRING("ControlSender::ControlSender: No controller loaded !"));
+ logError("ControlSender::ControlSender: No controller loaded !");
}
}