Add debugging logger