capturing parameters to the debug log