add the ability to turn on logging, and add some very basic logging