code: public function showByLevel(Log $log, $level)
      {
          $this->authorize(LogViewerPolicy::PERMISSION_SHOW);
  
          if ($level == 'all')
              return redirect()->route('admin::foundation.system.log-viewer.logs.show', [$log->date]);
  
          $levels  = $this->logViewer->levelsNames();
          $entries = $this->logViewer->entries($log->date, $level)->paginate($this->perPage);
  
          $this->addBreadcrumbRoute(trans('foundation::log-viewer.titles.logs-list'), 'admin::foundation.system.log-viewer.logs.list');
  
          $this->setTitle($log->date.' | '.ucfirst($level));
          $this->addBreadcrumbRoute($log->date, 'admin::foundation.system.log-viewer.logs.show', [$log->date]);
          $this->addBreadcrumb(ucfirst($level));
  
          return $this->view('admin.system.log-viewer.show', compact('log', 'levels', 'entries', 'level'));
      }
docs: Filter the log entries by date and level.
  
  @param  \Arcanedev\LogViewer\Entities\Log  $log
  @param  string                             $level
  
  @return \Illuminate\View\View|\Illuminate\Http\RedirectResponse