Capture and store a function's log outputs and return value, and stops its output from reaching the CLI. Makes console log testing a breeze.