#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,
(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();
{
(void)event;
- LogDebug("Connection broken");
+ WrtLogD("Connection broken");
// Must quit
Quit();
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
m_rpcClient.Open("127.0.0.1", 12345);
// Started
- LogDebug("Metronome client started");
+ WrtLogD("Metronome client started");
}
virtual ~MetronomeClientApplication()