Elastica\Log::setLog PHP Method

setLog() public method

Enable/disable log or set log path.
public setLog ( boolean | string $log )
$log boolean | string Enables log or sets log path
    public function setLog($log)
    {
        $this->_log = $log;
        return $this;
    }