Code fixes. Some logs added
[apps/native/gear-racing-car.git] / inc / log.h
index 3aee407..974ca98 100644 (file)
--- a/inc/log.h
+++ b/inc/log.h
@@ -42,6 +42,9 @@
 #define _E(fmt, arg...) log_print(DLOG_ERROR, LOG_TAG, "[%s:%d] " fmt "\n", __func__, __LINE__, ##arg)
 #endif
 
+#define FUNCTION_START _D("\033[0;32m ***************************** START ***************************** \033[0m")
+#define FUNCTION_END   _D("\033[0;32m *****************************  END  ***************************** \033[0m")
+
 #define retvm_if(expr, val, fmt, arg...) do { \
        if (expr) { \
                _E(fmt, ##arg); \