DataSift\Storyplayer\Cli\Feature_VerboseSwitch::__construct PHP Method

__construct() public method

public __construct ( )
    public function __construct()
    {
        // define our name, and our description
        $this->setName('verbose');
        $this->setShortDescription('increase the amount of raw data written to storyplayer.log');
        $this->setLongDesc("Both storyplayer.log and --dev mode capture raw data, to help make it easier to see " . "exactly what your test is sending and receiving from the system-under-test. Feedback " . "from users has been that can make it more difficult to read the --dev mode output " . "when all data is displayed. As a result, by default, Storyplayer only logs some " . "of the data that it sees, and will truncate long strings too." . PHP_EOL . PHP_EOL . "Unfortunately, that does make it hard to see why your test has failed without adding " . "more output and then running your test again." . PHP_EOL . PHP_EOL . "Use this switch to tell Storyplayer to log *all* data to storyplayer.log (and to the " . "console if you're using --dev mode). This is *highly recommended* when running your tests " . "using a CI solution.");
        // what are the switches?
        $this->addShortSwitch('V');
        $this->addLongSwitch('verbose');
        // all done
    }
Feature_VerboseSwitch