setLogger

Set the logger to forward to.

Once a logger is passed in, it cannot be changed. However, you can pass in None to disable logging.