public function LoggerChannelFactoryInterface::get in Drupal 9
Same name and namespace in other branches
- 8 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\LoggerCode
public function get($channel);