Helpful logging and error format

Dependents:   Waldo_Embed_V2

Inspired by this blog post.

Work in Progress

Revision:
6:163b9d47fa87
Parent:
5:1b4f4d4aec8c
Parent:
4:cf2ada8ed11b
Child:
7:ef45bd2cd9bb
--- a/LogUtil.h	Fri Apr 26 06:28:00 2013 +0000
+++ b/LogUtil.h	Wed May 01 03:51:03 2013 +0000
@@ -25,6 +25,7 @@
 
 #include <stdio.h>
 #include <stdlib.h>
+#include "mbed.h"
 
 #define STREAM      stdout
 #define LOG(...)    \
@@ -79,6 +80,7 @@
     /** Construct the LogUtil class and configure
      */
     LogUtil();
+    Serial debug;
     
 };