function LoggerChannelFactoryInterface::get

Same name in other branches
  1. 9 core/lib/Drupal/Core/Logger/LoggerChannelFactoryInterface.php \Drupal\Core\Logger\LoggerChannelFactoryInterface::get()
  2. 8.9.x core/lib/Drupal/Core/Logger/LoggerChannelFactoryInterface.php \Drupal\Core\Logger\LoggerChannelFactoryInterface::get()
  3. 10 core/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 core/lib/Drupal/Core/Logger/LoggerChannelFactory.php
Retrieves the registered logger for the requested channel.

File

core/lib/Drupal/Core/Logger/LoggerChannelFactoryInterface.php, line 18

Class

LoggerChannelFactoryInterface
Logger channel factory interface.

Namespace

Drupal\Core\Logger

Code

public function get($channel);

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.