code: protected function registerLogFilesystem()
      {
          $this->app->singleton('logviewer.filesystem', function ($app) {
              $files = $app['files'];
              $path = $app['path.storage'].'/logs';
  
              return new Filesystem($files, $path);
          });
  
          $this->app->alias('logviewer.filesystem', Filesystem::class);
      }
docs: Register the log filesystem class.
  
  @return void