public function SearchApiAlgoliaBackend::setLogger in Search API Algolia 2.0.x
Same name and namespace in other branches
- 8 src/Plugin/search_api/backend/SearchApiAlgoliaBackend.php \Drupal\search_api_algolia\Plugin\search_api\backend\SearchApiAlgoliaBackend::setLogger()
- 3.0.x src/Plugin/search_api/backend/SearchApiAlgoliaBackend.php \Drupal\search_api_algolia\Plugin\search_api\backend\SearchApiAlgoliaBackend::setLogger()
Sets the logger to use.
Parameters
\Psr\Log\LoggerInterface $logger: The logger to use.
Return value
$this
File
- src/
Plugin/ search_api/ backend/ SearchApiAlgoliaBackend.php, line 613
Class
- SearchApiAlgoliaBackend
- Class SearchApiAlgoliaBackend.
Namespace
Drupal\search_api_algolia\Plugin\search_api\backendCode
public function setLogger(LoggerInterface $logger) {
$this->logger = $logger;
return $this;
}