tizen 2.4 release
[framework/web/wrt-commons.git] / examples / metronome / metronome_client.cpp
index 1fca0df..ac8ae93 100644 (file)
@@ -23,7 +23,7 @@
 #include <dpl/tcp_socket_rpc_client.h>
 #include <dpl/tcp_socket_rpc_connection.h>
 #include <dpl/application.h>
-#include <dpl/log/log.h>
+#include <dpl/log/wrt_log.h>
 
 class MetronomeClientApplication
     : public DPL::Application,
@@ -41,14 +41,14 @@ private:
         (void)event;
 
         // Heart beat
-        LogDebug("* Got metronome signal *");
+        WrtLogD("* Got metronome signal *");
     }
 
     virtual void OnEventReceived(const DPL::AbstractRPCConnectionEvents::ConnectionClosedEvent &event)
     {
         (void)event;
 
-        LogDebug("Connection closed");
+        WrtLogD("Connection closed");
 
         // Must quit
         Quit();
@@ -58,7 +58,7 @@ private:
     {
         (void)event;
 
-        LogDebug("Connection broken");
+        WrtLogD("Connection broken");
 
         // Must quit
         Quit();
@@ -67,7 +67,7 @@ private:
     virtual void OnEventReceived(const DPL::AbstractRPCConnectorEvents::ConnectionEstablishedEvent &event)
     {
         // Save connection pointer
-        LogDebug("Connected to metronome server");
+        WrtLogD("Connected to metronome server");
         m_rpcConnection.reset(event.GetArg1());
 
         // Attach event listeners
@@ -87,7 +87,7 @@ public:
         m_rpcClient.Open("127.0.0.1", 12345);
 
         // Started
-        LogDebug("Metronome client started");
+        WrtLogD("Metronome client started");
      }
 
     virtual ~MetronomeClientApplication()