PUI: fill out missing variables when an ani is created, fix timer stuff
[platform/core/uifw/libpui.git] / src / PUI_common.h
index 1b6f156..66037da 100644 (file)
@@ -56,17 +56,17 @@ typedef struct _pui_backend_module pui_backend_module;
 
 #define pui_err(msg, ...)                                                                              \
        do {                                                                                                            \
-               fprintf(stderr, "[ERROR][%s] " msg, __FUNCTION__, ##__VA_ARGS__);       \
+               fprintf(stderr, "[ERROR][%s][%d] " msg, __FUNCTION__, __LINE__, ##__VA_ARGS__); \
        } while(0)
 
 #define pui_warn(msg, ...)                                                                             \
                do {                                                                                                    \
-                       fprintf(stderr, "[WARNING][%s] " msg, __FUNCTION__, ##__VA_ARGS__);     \
+                       fprintf(stderr, "[WARNING][%s][%d] " msg, __FUNCTION__, __LINE__, ##__VA_ARGS__);       \
                } while(0)
 
 #define pui_info(msg, ...)                                                                             \
        do {                                                                                                            \
-               fprintf(stdout, "[INFO][%s] " msg, __FUNCTION__, ##__VA_ARGS__);        \
+               fprintf(stdout, "[INFO][%s][%d] " msg, __FUNCTION__, __LINE__, ##__VA_ARGS__);  \
        } while(0)
 
 #endif//_LIBPUI_COMMON_H_