public function details($date, $level = null)
    {
        $log     = $this->getLogOrFail($date);
        $levels  = $this->logViewer->levelsNames();
        $entries = $log->entries(is_null($level) ? 'all' : $level);
        return $this->presenter->details($log, $levels, $entries, $level);
    }