easy logging of a variable value with its label