Browse code

core: print function name by default in LOGs

Andrei Pelinescu-Onciul authored on 26/09/2010 13:02:20
Showing 1 changed files
... ...
@@ -41,6 +41,9 @@
41 41
 /** if defined the function name will also be logged. */
42 42
 #ifdef NO_LOG_FUNC_NAME
43 43
 #	undef LOG_FUNC_NAME
44
+#else
45
+/* by default log the function name */
46
+#	define LOG_FUNC_NAME
44 47
 #endif /* NO_LOG_FUNC_NAME */
45 48
 
46 49
 /* C >= 99 has __func__, older gcc versions have __FUNCTION__ */