aboutsummaryrefslogtreecommitdiffstats
path: root/src/hs-proxy.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/hs-proxy.cpp')
-rw-r--r--src/hs-proxy.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/hs-proxy.cpp b/src/hs-proxy.cpp
index 0f5e78c..f0ee5f0 100644
--- a/src/hs-proxy.cpp
+++ b/src/hs-proxy.cpp
@@ -15,7 +15,6 @@
*/
#include "hs-proxy.h"
-#include "hmi-debug.h"
const char _afm_main[] = "afm-main";
@@ -36,7 +35,7 @@ const char _afm_main[] = "afm-main";
*/
static void api_callback(void *closure, struct json_object *object, const char *error, const char *info, afb_api_t api)
{
- HMI_DEBUG("homescreen-service","asynchronous call, error=%s, info=%s, object=%s.", error, info, json_object_get_string(object));
+ AFB_INFO("asynchronous call, error=%s, info=%s, object=%s.", error, info, json_object_get_string(object));
}
/**
@@ -54,7 +53,7 @@ static void api_callback(void *closure, struct json_object *object, const char *
*/
static void api_call(afb_api_t api, const char *service, const char *verb, struct json_object *args)
{
- HMI_DEBUG("homescreen-service","service=%s verb=%s, args=%s.", service, verb, json_object_get_string(args));
+ AFB_INFO("service=%s verb=%s, args=%s.", service, verb, json_object_get_string(args));
afb_api_call(api, service, verb, args, api_callback, nullptr);
}
@@ -77,7 +76,7 @@ static int api_call_sync(afb_api_t api, const char *service, const char *verb, s
{
char *error = nullptr, *info = nullptr;
int ret = afb_api_call_sync(api, service, verb, args, object, &error, &info);
- HMI_DEBUG("homescreen-service","synchronous call, error=%s, info=%s.", error, info);
+ AFB_INFO("synchronous call, error=%s, info=%s.", error, info);
return ret;
}