X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fhs-proxy.cpp;h=f0ee5f03183725f4ad1bc5ce94c636c108bb434b;hb=2f7789558c98d8b79b41d62ac97f5bd6de557dc9;hp=0f5e78cd4f684c4e952a9cb578e6bb5840c1c8ab;hpb=6c3015a7607c45313fa10792b9914864f8c25831;p=apps%2Fagl-service-homescreen.git 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; }