WIP ENH: Use logging

Not ready for review until #84 is merged. It bulids on those changes, so this will need to be rebased.