protected function log($message)
    {

        if ($this->debug == true) {
            file_put_contents("php://stdout", $message . "\n");
        }

        file_put_contents($this->dump_dir . 'dump.log', $message . "\n", \FILE_APPEND);
    }
protected function log($message)
    {

        if ($this->debug == true) {
            file_put_contents("php://stdout", $message . "\n");
        }

        file_put_contents($this->dump_dir . 'dump.log', $message . "\n", \FILE_APPEND);
    }
protected function log ( $ message ) { if ( $ this -> debug == true ) { file_put_contents ( "php://stdout" , $ message . "\n" ) ; } file_put_contents ( $ this -> dump_dir . 'dump.log' , $ message . "\n" , \ FILE_APPEND ) ; }
Send messages to stdout
@param string $message
Send messages to stdout