Added basic logging to StreamIO