public function show($date, Request $request)
    {
        $level   = 'all';
        $log     = $this->getLogOrFail($date);
        $query   = $request->get('query');
        $levels  = $this->logViewer->levelsNames();
        $entries = $log->entries($level)->paginate($this->perPage);

        return $this->view('show', compact('level', 'log', 'query', 'levels', 'entries'));
    }
public function show($date, Request $request)
    {
        $level   = 'all';
        $log     = $this->getLogOrFail($date);
        $query   = $request->get('query');
        $levels  = $this->logViewer->levelsNames();
        $entries = $log->entries($level)->paginate($this->perPage);

        return $this->view('show', compact('level', 'log', 'query', 'levels', 'entries'));
    }
public function show ( $ date , Request $ request ) { $ level = 'all' ; $ log = $ this -> getLogOrFail ( $ date ) ; $ query = $ request -> get ( 'query' ) ; $ levels = $ this -> logViewer -> levelsNames ( ) ; $ entries = $ log -> entries ( $ level ) -> paginate ( $ this -> perPage ) ; return $ this -> view ( 'show' , compact ( 'level' , 'log' , 'query' , 'levels' , 'entries' ) ) ; }
Show the log.

@param  string                    $date
@param  \Illuminate\Http\Request  $request

@return \Illuminate\View\View
Show the log .