Helpful logging and error format

Dependents:   Waldo_Embed_V2

Inspired by this blog post.

Work in Progress

Revision:
8:509ffcfb849f
Parent:
7:ef45bd2cd9bb
--- a/LogUtil.cpp	Fri May 10 18:36:27 2013 +0000
+++ b/LogUtil.cpp	Sun Dec 18 01:30:53 2022 +0000
@@ -23,7 +23,7 @@
  #include "LogUtil.h"
  #include "mbed.h"
  
-LogUtil::LogUtil(Serial &serial, uint32_t baudrate)
+LogUtil::LogUtil(BufferedSerial &serial, uint32_t baudrate)
 {
     _serial = &serial;
     (baudrate > 0) ? _serial->baud(baudrate) : __nop();