Collective\Remote\Console\TailCommand::tailLogFile PHP Method

tailLogFile() protected method

Tail the given log file for the connection.
protected tailLogFile ( string $path, string $connection ) : void
$path string
$connection string
return void
    protected function tailLogFile($path, $connection)
    {
        if (is_null($connection)) {
            $this->tailLocalLogs($path);
        } else {
            $this->tailRemoteLogs($path, $connection);
        }
    }