code: private function getLogPath($date)
      {
          $path = $this->storagePath.DIRECTORY_SEPARATOR.$this->prefixPattern.$date.$this->extension;
  
          if (!$this->filesystem->exists($path)) {
              throw new FilesystemException("The log(s) could not be located at : $path");
          }
  
          return realpath($path);
      }
docs: Get the log file path.
  
  @param string $date
  
  @throws \Orchid\Log\Exceptions\FilesystemException
  
  @return string