You are here

public function SearchApiSolrCommands::setLogger in Search API Solr 8.3

Same name and namespace in other branches
  1. 8.2 src/Commands/SearchApiSolrCommands.php \Drupal\search_api_solr\Commands\SearchApiSolrCommands::setLogger()
  2. 4.x src/Commands/SearchApiSolrCommands.php \Drupal\search_api_solr\Commands\SearchApiSolrCommands::setLogger()

File

src/Commands/SearchApiSolrCommands.php, line 53

Class

SearchApiSolrCommands
Defines Drush commands for the Search API Solr.

Namespace

Drupal\search_api_solr\Commands

Code

public function setLogger(LoggerInterface $logger) {
  parent::setLogger($logger);
  $this->commandHelper
    ->setLogger($logger);
}