src/Http/Controllers/Admin/System/LogViewerController.php
public function download(Log $log)
    {
        $this->authorize(LogViewerPolicy::PERMISSION_DOWNLOAD);

        return $this->logViewer->download($log->date);
    }
public function download(Log $log)
    {
        $this->authorize(LogViewerPolicy::PERMISSION_DOWNLOAD);

        return $this->logViewer->download($log->date);
    }
Download the log.

@param  \Arcanedev\LogViewer\Entities\Log  $log

@return \Symfony\Component\HttpFoundation\BinaryFileResponse