original_string: 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);
      }
code: 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);
      }
code_tokens: 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 ) ; }
docstring: Create an instance of the Log Swift Transport driver.
  
  @return \Illuminate\Mail\Transport\LogTransport
docstring_tokens: Create an instance of the Log Swift Transport driver .