Wrap most of core in `logging'

Issue #221 wontfix