From: Injun Yang Date: Fri, 9 Dec 2016 06:13:43 +0000 (+0900) Subject: Enhance the debug message X-Git-Tag: submit/tizen/20170220.233016~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=11d5ee05759e62113873eb49a5e46b22f09960cd;p=platform%2Fcore%2Fconnectivity%2Fbluetooth-agent.git Enhance the debug message Change-Id: I82e069ea5a0cc7af7defd87b7d83b8276036d4a2 Signed-off-by: Injun Yang --- diff --git a/ag-agent/bluetooth-ag-agent.c b/ag-agent/bluetooth-ag-agent.c index 6f4f8c4..809577c 100755 --- a/ag-agent/bluetooth-ag-agent.c +++ b/ag-agent/bluetooth-ag-agent.c @@ -4341,7 +4341,7 @@ int main(void) struct sigaction sa; pthread_t thread_id; - INFO_C("Starting Bluetooth AG agent"); + INFO_C("### Starting Bluetooth AG agent"); ag_features = __bt_ag_agent_get_ag_features(); @@ -4391,6 +4391,6 @@ int main(void) if (gmain_loop) g_main_loop_unref(gmain_loop); - INFO_C("Terminating Bluetooth AG agent"); + INFO_C("### Terminating Bluetooth AG agent"); return 0; } diff --git a/hf-agent/bluetooth-hf-agent.c b/hf-agent/bluetooth-hf-agent.c index 9e80a01..8cade59 100755 --- a/hf-agent/bluetooth-hf-agent.c +++ b/hf-agent/bluetooth-hf-agent.c @@ -1963,7 +1963,7 @@ static gboolean __bt_hf_agent_data_cb(GIOChannel *chan, GIOCondition cond, if (cond & (G_IO_ERR | G_IO_HUP)) { ERR("ERR or HUP on RFCOMM socket"); - INFO_C("Disconnected [HF role] [Terminated by remote dev]"); + INFO_C("### Disconnected [HF role] [Terminated by remote dev]"); is_hf_connected = FALSE; bt_hf_info->slc = FALSE; __bt_hf_agent_release(); @@ -2751,7 +2751,7 @@ static gboolean __bt_agent_request_service_level_conn(gpointer data) remote_addr = bt_hf_info.remote_addr; INFO_SECURE("Address is : %s", remote_addr); - INFO_C("Connected [HF role]"); + INFO_C("### Connected [HF role]"); if (vconf_get_int(VCONFKEY_BT_DEVICE, &bt_device_state) == 0) { DBG("BT device state is : 0x%X", bt_device_state); @@ -3349,7 +3349,7 @@ int main(void) struct sigaction sa; uint32_t hf_features; - INFO("Starting Bluetooth HF agent"); + INFO_C("### Starting Bluetooth HF agent"); hf_features = __bt_hf_agent_get_hf_features(); bt_hf_info.feature = (uint16_t) hf_features & 0x3F; @@ -3377,6 +3377,6 @@ int main(void) if (gmain_loop) g_main_loop_unref(gmain_loop); - INFO("Terminating Bluetooth HF agent"); + INFO_C("### Terminating Bluetooth HF agent"); return 0; }