Capture and store invocation parameters