Implement LogAndApply()