You are here

public function DrupalClient::setLogger in Facebook Instant Articles 3.x

Same name and namespace in other branches
  1. 8.2 src/DrupalClient.php \Drupal\fb_instant_articles\DrupalClient::setLogger()

Set the logger.

Parameters

\Drupal\Core\Logger\LoggerChannelInterface $logger: Logger channel.

File

src/DrupalClient.php, line 70

Class

DrupalClient
Encapsulate Drupal-specific logic for FBIA Client.

Namespace

Drupal\fb_instant_articles

Code

public function setLogger(LoggerChannelInterface $logger) {
  $this->logger = $logger;
}