Adds file logs 49/176849/2 tizen_3.0
authorhyunho <hhstark.kang@samsung.com>
Mon, 23 Apr 2018 04:56:54 +0000 (13:56 +0900)
committerhyunho <hhstark.kang@samsung.com>
Tue, 24 Apr 2018 04:27:50 +0000 (13:27 +0900)
Change-Id: I0508f0bd80d3e3f162c89b3c1d5a0983f41418ec
Signed-off-by: hyunho <hhstark.kang@samsung.com>
src/widget_app.c

index 77b2889..4b2fad4 100755 (executable)
@@ -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();