kerneltest/e32test/usbho/t_usbdi/inc/testdebug.h
branchRCL_3
changeset 44 3e88ff8f41d5
parent 43 c1f20ce4abcf
--- a/kerneltest/e32test/usbho/t_usbdi/inc/testdebug.h	Tue Aug 31 16:34:26 2010 +0300
+++ b/kerneltest/e32test/usbho/t_usbdi/inc/testdebug.h	Wed Sep 01 12:34:56 2010 +0100
@@ -28,6 +28,14 @@
 #include <d32usbdi.h>
 #include <f32file.h>
 
+/**
+Debug macro for serial port logging of function names and signatures
+*/
+#define LOG_CFUNC TFunctionLog funcLog(__PRETTY_FUNCTION__, NULL);
+#define LOG_FUNC TFunctionLog funcLog(__PRETTY_FUNCTION__,this);
+
+#define LOG_POINT(x) RDebug::Printf(">> Debug point: " #x);
+
 //#define LOG_INFO(x) RDebug::Print x;
 
 #define LOG_INFO(x)