Fixes #99: logging from phantomas scope is broken