Separate out the logger, make a better logger