introduce sd_log for logging on the sdcard