code: public function getShow($date, $level = null)
      {
          $logs = LogViewer::logs();
  
          if (!is_string($level)) {
              $level = 'all';
          }
  
          $page = Input::get('page');
          if (empty($page)) {
              $page = '1';
          }
  
          $data = [
              'logs'       => $logs,
              'date'       => $date,
              'url'        => 'logviewer',
              'data_url'   => URL::route('logviewer.index').'/data/'.$date.'/'.$level.'?page='.$page,
              'levels'     => LogViewer::levels(),
              'current'    => $level,
          ];
  
          return View::make('logviewer::show', $data);
      }
docs: Show the log viewing page.
  
  @param string      $date
  @param string|null $level
  
  @return \Illuminate\Http\Response