Improve _d (add log name arg) for easy arbitrary logging.