Logging different promise function params.