* @brief
*/
#include <stddef.h>
-#include <dpl/log/log.h>
+#include <dpl/log/wrt_log.h>
#include <dpl/dbus/connection.h>
#include <dpl/dbus/exception.h>
#include <dpl/dbus/object_proxy.h>
if (FALSE ==
g_dbus_connection_flush_sync(m_connection, NULL, &error))
{
- LogPedantic("Could not flush the connection"
- << " <" << error->message << ">");
+ WrtLogD("Could not flush the connection <%s>", error->message);
g_error_free(error);
}
}
std::string message;
if (NULL != error) {
message = error->message;
- LogPedantic(error->message << " " << error->code);
+ WrtLogD("%s %i", error->message, error->code);
g_error_free(error);
}
ThrowMsg(DBus::Exception, "Error while registering an object: "
Connection* self = static_cast<Connection*>(data);
- LogPedantic("Emitting service name acquired event: " << serviceName);
+ WrtLogD("Emitting service name acquired event: %s", serviceName);
ConnectionEvents::ServiceNameAcquiredEvent event(serviceName);
self->DPL::Event::EventSupport<ConnectionEvents::ServiceNameAcquiredEvent>
Connection* self = static_cast<Connection*>(data);
- LogPedantic("Emitting service name lost event: " << serviceName);
+ WrtLogD("Emitting service name lost event: %s", serviceName);
ConnectionEvents::ServiceNameLostEvent event(serviceName);
self->DPL::Event::EventSupport<ConnectionEvents::ServiceNameLostEvent>::