sources/Commands/TailCommand.php
protected function tailLocalLogs($path)
    {
        $output = $this->output;

        $lines = $this->option('lines');

        (new Process('tail -f -n '.$lines.' '.escapeshellarg($path)))->setTimeout(null)->run(function ($type, $line) use ($output) {
            $output->write($line);
        });
    }
protected function tailLocalLogs($path)
    {
        $output = $this->output;

        $lines = $this->option('lines');

        (new Process('tail -f -n '.$lines.' '.escapeshellarg($path)))->setTimeout(null)->run(function ($type, $line) use ($output) {
            $output->write($line);
        });
    }
protected function tailLocalLogs ( $ path ) { $ output = $ this -> output ; $ lines = $ this -> option ( 'lines' ) ; ( new Process ( 'tail -f -n ' . $ lines . ' ' . escapeshellarg ( $ path ) ) ) -> setTimeout ( null ) -> run ( function ( $ type , $ line ) use ( $ output ) { $ output -> write ( $ line ) ; } ) ; }
Tail a local log file for the application.

@param string $path

@return string
Tail a local log file for the application .