You are here

public function LoggerChannelFactoryInterface::get in Service Container 7.2

Same name and namespace in other branches
  1. 7 lib/Drupal/Core/Logger/LoggerChannelFactoryInterface.php \Drupal\Core\Logger\LoggerChannelFactoryInterface::get()

Retrieves the registered logger for the requested channel.

Return value

\Drupal\Core\Logger\LoggerChannelInterface The registered logger for this channel.

1 method overrides LoggerChannelFactoryInterface::get()
LoggerChannelFactory::get in src/Logger/LoggerChannelFactory.php
Retrieves the registered logger for the requested channel.

File

lib/Drupal/Core/Logger/LoggerChannelFactoryInterface.php, line 23
Contains \Drupal\Core\Logger\LoggerChannelFactoryInterface.

Class

LoggerChannelFactoryInterface
Logger channel factory interface.

Namespace

Drupal\Core\Logger

Code

public function get($channel);