protected function setFileHandler(string $logFile, int $logLevel = null)
    {
        $this->logFile = $logFile;
        $stream = new StreamHandler($logFile, $logLevel);
        $this->pushHandler($stream);        
    }
protected function setFileHandler(string $logFile, int $logLevel = null)
    {
        $this->logFile = $logFile;
        $stream = new StreamHandler($logFile, $logLevel);
        $this->pushHandler($stream);        
    }
protected function setFileHandler ( string $ logFile , int $ logLevel = null ) { $ this -> logFile = $ logFile ; $ stream = new StreamHandler ( $ logFile , $ logLevel ) ; $ this -> pushHandler ( $ stream ) ; }
Set up a logger to write to logFile
@param string $logFile
@param int $logLevel
Set up a logger to write to logFile