more flexibility on logger calls