Changed the way that the led colors are stored in the config file
[apps/native/gear-racing-car.git] / inc / log.h
index 974ca98..14af56e 100644 (file)
--- a/inc/log.h
+++ b/inc/log.h
@@ -42,8 +42,8 @@
 #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 FUNCTION_START _D("\033[0;32m ************** %s() START ************** \033[0m", __FUNCTION__)
+#define FUNCTION_END   _D("\033[0;32m **************  %s() END  ************** \033[0m", __FUNCTION__)
 
 #define retvm_if(expr, val, fmt, arg...) do { \
        if (expr) { \