summaryrefslogtreecommitdiff
path: root/src/navigation/navigation-core/enhancedposition-plugin/genivi_positioning_enhancedposition.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/navigation/navigation-core/enhancedposition-plugin/genivi_positioning_enhancedposition.cxx')
-rw-r--r--src/navigation/navigation-core/enhancedposition-plugin/genivi_positioning_enhancedposition.cxx9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/navigation/navigation-core/enhancedposition-plugin/genivi_positioning_enhancedposition.cxx b/src/navigation/navigation-core/enhancedposition-plugin/genivi_positioning_enhancedposition.cxx
index db4de89..e6eece4 100644
--- a/src/navigation/navigation-core/enhancedposition-plugin/genivi_positioning_enhancedposition.cxx
+++ b/src/navigation/navigation-core/enhancedposition-plugin/genivi_positioning_enhancedposition.cxx
@@ -48,6 +48,10 @@
#include "time.h"
+#include "log.h"
+
+DLT_DECLARE_CONTEXT(gCtx);
+
#if (!DEBUG_ENABLED)
#undef dbg
#define dbg(level,...) ;
@@ -274,7 +278,10 @@ vehicle_enhancedposition_new(struct vehicle_methods *meth,
void plugin_init(void)
{
- event_request_system("glib","genivi_navigationcore_enhpos");
+ DLT_REGISTER_APP("ENHPC","ENHPOS CLIENT");
+ DLT_REGISTER_CONTEXT(gCtx,"ENHPC","Global Context");
+
+ event_request_system("glib","genivi_navigationcore_enhpos");
dispatcher.attach(NULL);
DBus::default_dispatcher = &dispatcher;
conn = new DBus::Connection(DBus::Connection::SessionBus());