diff options
author | hyunho <hhstark.kang@samsung.com> | 2018-04-23 13:56:54 +0900 |
---|---|---|
committer | hyunho <hhstark.kang@samsung.com> | 2018-04-23 15:31:15 +0900 |
commit | d7ec3f8b73f9d0784ba9201a6634a348e96f32f4 (patch) | |
tree | 923446b2de1ad0fead28604b6560be150dcc1ecd | |
parent | 2168dafea1aefdc4d584eb2262f832f7daa4142f (diff) | |
download | appcore-widget-d7ec3f8b73f9d0784ba9201a6634a348e96f32f4.tar.gz appcore-widget-d7ec3f8b73f9d0784ba9201a6634a348e96f32f4.tar.bz2 appcore-widget-d7ec3f8b73f9d0784ba9201a6634a348e96f32f4.zip |
Adds file logs
Change-Id: I0508f0bd80d3e3f162c89b3c1d5a0983f41418ec
Signed-off-by: hyunho <hhstark.kang@samsung.com>
-rw-r--r-- | src/efl_base/widget_app.c | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/efl_base/widget_app.c b/src/efl_base/widget_app.c index 24dcb58..9386044 100644 --- a/src/efl_base/widget_app.c +++ b/src/efl_base/widget_app.c @@ -20,6 +20,7 @@ #include <bundle.h> #include <aul.h> +#include <aul_widget.h> #include <dlog.h> #include <Elementary.h> #include <widget_errno.h> @@ -114,6 +115,8 @@ static int __class_create(widget_base_instance_h instance_h, bundle *content, ret = callback_data->callback.create( (widget_context_h)instance_h, content, w, h, callback_data->user_data); + aul_widget_write_log(LOG_TAG, "[%s:%d] ret : %d", + __FUNCTION__, __LINE__, ret); } return ret; } @@ -130,7 +133,9 @@ static int __class_destroy(widget_base_instance_h instance_h, if (callback_data && callback_data->callback.destroy) { ret = callback_data->callback.destroy( (widget_context_h)instance_h, - reason, content, callback_data->user_data); + reason, content, callback_data->user_data); + aul_widget_write_log(LOG_TAG, "[%s:%d] ret : %d", + __FUNCTION__, __LINE__, ret); } data = (struct instance_data *)widget_base_context_get_user_data(instance_h); @@ -189,6 +194,7 @@ static int __widget_app_create(void *data) return -1; } _D("widget app is created"); + aul_widget_write_log(LOG_TAG, "[%s:%d]", __FUNCTION__, __LINE__); return 0; } @@ -205,7 +211,7 @@ static int __widget_app_terminate(void *data) callback->terminate(cb_info->user_data); widget_base_on_terminate(); _D("widget app is terminated"); - + aul_widget_write_log(LOG_TAG, "[%s:%d]", __FUNCTION__, __LINE__); return 0; } |