code: public function logs()
      {
          $logs = array_reverse($this->filesystem->files());
  
          foreach ($logs as $index => $file) {
              $logs[$index] = preg_replace('/.*(\d{4}-\d{2}-\d{2}).*/', '$1', basename($file));
          }
  
          return $logs;
      }
docs: List the log files.
  
  @return string[]