W3cubDocs

/Drupal 8

public function LoggerChannelFactoryInterface::get

public LoggerChannelFactoryInterface::get($channel)

Retrieves the registered logger for the requested channel.

Return value

\Drupal\Core\Logger\LoggerChannelInterface The registered logger for this 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);

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Logger!LoggerChannelFactoryInterface.php/function/LoggerChannelFactoryInterface::get/8.1.x