diff options
-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(); |