diff options
author | hyunho <hhstark.kang@samsung.com> | 2018-04-23 13:56:54 +0900 |
---|---|---|
committer | hyunho <hhstark.kang@samsung.com> | 2018-04-24 13:27:50 +0900 |
commit | c782774af71b9d19af1a8367e516f63fd76e1b4d (patch) | |
tree | 36f6b39d9bf41b7d45ba4c7fc68449e188b30a20 | |
parent | 8a6d3d3ca1615b9932a7d08c801a039e3634e958 (diff) | |
download | appcore-widget-tizen_3.0.tar.gz appcore-widget-tizen_3.0.tar.bz2 appcore-widget-tizen_3.0.zip |
Adds file logstizen_3.0
Change-Id: I0508f0bd80d3e3f162c89b3c1d5a0983f41418ec
Signed-off-by: hyunho <hhstark.kang@samsung.com>
-rwxr-xr-x | src/widget_app.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/widget_app.c b/src/widget_app.c index 77b2889..4b2fad4 100755 --- a/src/widget_app.c +++ b/src/widget_app.c @@ -33,6 +33,7 @@ #include <widget_service.h> #include <widget_service_internal.h> #include <aul_app_com.h> +#include <aul_widget.h> #include <Ecore_Wayland.h> #include <system_info.h> #include <vconf.h> @@ -574,6 +575,9 @@ static int __instance_create(widget_class_h handle, const char *id, } } + aul_widget_write_log(LOG_TAG, "[%s:%d] %s ret : %d", + __FUNCTION__, __LINE__, id, ret); + if (content_info) bundle_free(content_info); @@ -613,6 +617,9 @@ static int __instance_destroy(widget_class_h handle, const char *id, WIDGET_INSTANCE_EVENT_EXTRA_UPDATED, 0, content_info); } + aul_widget_write_log(LOG_TAG, "[%s:%d] id : %s", + __FUNCTION__, __LINE__, id); + if (content_info) bundle_free(content_info); @@ -1093,6 +1100,7 @@ static int __before_loop(int argc, char **argv) return widget_app_error(WIDGET_ERROR_INVALID_PARAMETER, __FUNCTION__, "widget_class is NULL"); } + aul_widget_write_log(LOG_TAG, "[%s:%d]", __FUNCTION__, __LINE__); vconf_notify_key_changed(VCONFKEY_SYSMAN_POWER_OFF_STATUS, __on_poweroff, NULL); @@ -1109,6 +1117,7 @@ static void __after_loop() if (app_ops->terminate) app_ops->terminate(app_user_data); + aul_widget_write_log(LOG_TAG, "[%s:%d]", __FUNCTION__, __LINE__); aul_finalize(); screen_connector_provider_fini(); |