Helpful logging and error format

Dependents:   Waldo_Embed_V2

Inspired by this blog post.

Work in Progress

Revision:
2:c54746c59ba4
Parent:
1:491d2a7f4207
Child:
4:cf2ada8ed11b
Child:
5:1b4f4d4aec8c
--- a/LogUtil.h	Fri Mar 29 20:02:18 2013 +0000
+++ b/LogUtil.h	Fri Apr 05 23:16:03 2013 +0000
@@ -23,6 +23,9 @@
 #ifndef LOGUTIL_H
 #define LOGUTIL_H
 
+#include <stdio.h>
+#include <stdlib.h>
+
 #define STREAM      stdout
 #define LOG(...)    \
     fprintf(STREAM, "LOG:   %s L#%d ", __PRETTY_FUNCTION__, __LINE__);  \