code: private function registerFilesystem()
      {
          $this->app->singleton(Contracts\Utilities\Filesystem::class, function ($app) {
              /**
               * @var \Illuminate\Config\Repository
               * @var \Illuminate\Filesystem\Filesystem $files
               */
              $files = $app['files'];
              $filesystem = new Utilities\Filesystem($files, storage_path('logs'));
  
              $filesystem->setPattern(
                  Utilities\Filesystem::PATTERN_PREFIX,
                  Utilities\Filesystem::PATTERN_DATE,
                  Utilities\Filesystem::PATTERN_EXTENSION
              );
  
              return $filesystem;
          });
  
          $this->app->singleton('arcanedev.log-viewer.filesystem', Contracts\Utilities\Filesystem::class);
      }
docs: Register the log filesystem.