code: protected function registerLogViewer()
      {
          $this->app->singleton('logviewer', function ($app) {
              $factory = $app['logviewer.factory'];
              $filesystem = $app['logviewer.filesystem'];
              $data = $app['logviewer.data'];
  
              return new LogViewer($factory, $filesystem, $data);
          });
  
          $this->app->alias('logviewer', LogViewer::class);
      }
docs: Register the log data class.
  
  @return void