src/Laravel/LoggingServiceProvider.php
public function registerLogger()
    {
        $this->app->extend('log', function($log) {
            return new Writer($log->getMonolog(), $log->getEventDispatcher());
        });
    }
public function registerLogger()
    {
        $this->app->extend('log', function($log) {
            return new Writer($log->getMonolog(), $log->getEventDispatcher());
        });
    }
public function registerLogger ( ) { $ this -> app -> extend ( 'log' , function ( $ log ) { return new Writer ( $ log -> getMonolog ( ) , $ log -> getEventDispatcher ( ) ) ; } ) ; }
Extend the logger.

@return \Illuminate\Log\Writer
Extend the logger .