src/LogViewerServiceProvider.php
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);
    }
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);
    }
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 ) ; }
Register the log filesystem class.

@return void
Register the log filesystem class .