You are here

public function Subscribers::setLoggerChannel in Message Subscribe 8

Sets the logger channel.

@todo Inject this service in the 2.x version

Parameters

\Psr\Log\LoggerInterface $logger: The message_subscribe logger channel.

File

src/Subscribers.php, line 135

Class

Subscribers
A message subscribers service.

Namespace

Drupal\message_subscribe

Code

public function setLoggerChannel(LoggerInterface $logger) {
  $this->logger = $logger;
}