Platformsh\Cli\Command\Tunnel\TunnelCommandBase::openLog PHP Method

openLog() protected method

protected openLog ( string $logFile ) : Symfony\Component\Console\Output\OutputInterface | false
$logFile string
return Symfony\Component\Console\Output\OutputInterface | false
    protected function openLog($logFile)
    {
        $logResource = fopen($logFile, 'a');
        if ($logResource) {
            return new StreamOutput($logResource);
        }
        return false;
    }