Helpful logging and error format

Dependents:   Waldo_Embed_V2

Inspired by this blog post.

Work in Progress

Revision:
7:ef45bd2cd9bb
Parent:
6:163b9d47fa87
Child:
8:509ffcfb849f
--- a/LogUtil.h	Wed May 01 03:51:03 2013 +0000
+++ b/LogUtil.h	Fri May 10 18:36:27 2013 +0000
@@ -75,13 +75,14 @@
  */ 
 class LogUtil
 {
+private:
+    Serial *_serial;
 public:
     
     /** Construct the LogUtil class and configure
      */
-    LogUtil();
-    Serial debug;
-    
+    LogUtil(Serial &serial, uint32_t baudrate = 0);
+        
 };