protected function createLogDriver()
    {
        $logger = $this->app->make(LoggerInterface::class);

        if ($logger instanceof LogManager) {
            $logger = $logger->channel($this->app['config']['mail.log_channel']);
        }

        return new LogTransport($logger);
    }
protected function createLogDriver()
    {
        $logger = $this->app->make(LoggerInterface::class);

        if ($logger instanceof LogManager) {
            $logger = $logger->channel($this->app['config']['mail.log_channel']);
        }

        return new LogTransport($logger);
    }
protected function createLogDriver ( ) { $ logger = $ this -> app -> make ( LoggerInterface :: class ) ; if ( $ logger instanceof LogManager ) { $ logger = $ logger -> channel ( $ this -> app [ 'config' ] [ 'mail.log_channel' ] ) ; } return new LogTransport ( $ logger ) ; }
Create an instance of the Log Swift Transport driver.

@return \Illuminate\Mail\Transport\LogTransport
Create an instance of the Log Swift Transport driver .