log4r_step function

Enable logging of failure conditions at the validation step level