Merge "Add callback to handle wtf logs"