src/LogViewerServiceProvider.php
protected function registerLogFactory()
    {
        $this->app->singleton('logviewer.factory', function ($app) {
            $filesystem = $app['logviewer.filesystem'];
            $levels = $app['logviewer.data']->levels();

            return new Factory($filesystem, $levels);
        });

        $this->app->alias('logviewer.factory', Factory::class);
    }
protected function registerLogFactory()
    {
        $this->app->singleton('logviewer.factory', function ($app) {
            $filesystem = $app['logviewer.filesystem'];
            $levels = $app['logviewer.data']->levels();

            return new Factory($filesystem, $levels);
        });

        $this->app->alias('logviewer.factory', Factory::class);
    }
Register the log factory class.

@return void