tizen 2.4 release
[framework/web/wrt-commons.git] / examples / dbus / server-example / server-example.cpp
index 84e665d..b6aa0aa 100644 (file)
@@ -18,7 +18,7 @@
 #include <iostream>
 #include <gio/gio.h>
 #include <dpl/event_listener.h>
-#include <dpl/log/log.h>
+#include <dpl/log/wrt_log.h>
 #include <dpl/thread.h>
 #include <dpl/dbus/server.h>
 #include <dpl/dbus/connection.h>
@@ -52,14 +52,14 @@ public:
                       GVariant *parameters,
                       GDBusMethodInvocation *invocation)
     {
-          LogDebug("On method call: " << methodName);
+          WrtLogD("On method call: %s", methodName);
 
           if (g_strcmp0(methodName, "echo") == 0)
           {
               const gchar* arg = NULL;
 
               g_variant_get(parameters, "(&s)", &arg);
-              LogDebug("Client said: " << arg);
+              WrtLogD("Client said: %s", arg);
 
               gchar* response = g_strdup_printf(arg);
               g_dbus_method_invocation_return_value(invocation,