protected function InstagramApiTrait::logger in Instagram Feeds 8
Returns a channel logger object.
Return value
\Psr\Log\LoggerInterface The logger for instagram_feeds channel.
File
- src/
InstagramApiTrait.php, line 74
Class
- InstagramApiTrait
- Instagram API Trait.
Namespace
Drupal\instagram_feedsCode
protected function logger() : LoggerInterface {
if (!isset($this->logger)) {
$this->logger = \Drupal::logger('instagram_feeds');
}
return $this->logger;
}