Adds the possibility to log the parameters of a click command and their value, given the current context.