Log stuff in function call.