LoggerChannelFactory::$channels

Same name in other branches
  1. 8.9.x core/lib/Drupal/Core/Logger/LoggerChannelFactory.php \Drupal\Core\Logger\LoggerChannelFactory::channels
  2. 10 core/lib/Drupal/Core/Logger/LoggerChannelFactory.php \Drupal\Core\Logger\LoggerChannelFactory::channels
  3. 11.x core/lib/Drupal/Core/Logger/LoggerChannelFactory.php \Drupal\Core\Logger\LoggerChannelFactory::channels

Array of all instantiated logger channels keyed by channel name.

Type: \Drupal\Core\Logger\LoggerChannelInterface[]

File

core/lib/Drupal/Core/Logger/LoggerChannelFactory.php, line 20

Class

LoggerChannelFactory
Defines a factory for logging channels.

Namespace

Drupal\Core\Logger

Code

protected $channels = [];

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