public function LiveResults::getLogger in Search API Autocomplete 8
Retrieves the logger.
Return value
\Psr\Log\LoggerInterface The logger.
Overrides LoggerTrait::getLogger
File
- src/
Plugin/ search_api_autocomplete/ suggester/ LiveResults.php, line 115
Class
- LiveResults
- Provides a suggester plugin that displays live results.
Namespace
Drupal\search_api_autocomplete\Plugin\search_api_autocomplete\suggesterCode
public function getLogger() {
return $this->logger ?: \Drupal::service('logger.channel.search_api_autocomplete');
}