facilitate to log the retrun value of a helper