added reset capabilities to logger.  makes it a little more complicated but oh well.