added fully running logger for mbed for more testing!