Add logging function macros
authorChristopher Michael <cp.michael@samsung.com>
Thu, 24 Jan 2013 12:15:11 +0000 (12:15 +0000)
committerChristopher Michael <cpmichael1@comcast.net>
Thu, 24 Jan 2013 12:15:11 +0000 (12:15 +0000)
Signed-off-by: Christopher Michael <cp.michael@samsung.com>
SVN revision: 83294

src/modules/evas/engines/wayland_shm/evas_engine.h

index 2917d1a..190a8cc 100644 (file)
@@ -1,6 +1,15 @@
 #ifndef _EVAS_ENGINE_H
 # define _EVAS_ENGINE_H
 
+//# define LOGFNS 1
+
+# ifdef LOGFNS
+#  include <stdio.h>
+#  define LOGFN(fl, ln, fn) printf("-EVAS-WL: %25s: %5i - %s\n", fl, ln, fn);
+# else
+#  define LOGFN(fl, ln, fn)
+# endif
+
 extern int _evas_engine_way_shm_log_dom;
 
 # ifdef ERR