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 29

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.