Arduino logging module which allows log output to be redirected.