Add code for async yield/resume logging