Defines a factory for logging channels.
Name | Modifiers | Type | Description |
---|---|---|---|
ContainerAwareTrait::$container | protected | property | |
ContainerAwareTrait::setContainer | public | function | Sets the container. Overrides ContainerAwareInterface::setContainer |
LoggerChannelFactory::$channels | protected | property | Array of all instantiated logger channels keyed by channel name. |
LoggerChannelFactory::$loggers | protected | property | An array of arrays of \Psr\Log\LoggerInterface keyed by priority. |
LoggerChannelFactory::addLogger | public | function | Adds a logger to all the channels. Overrides LoggerChannelFactoryInterface::addLogger |
LoggerChannelFactory::get | public | function | Retrieves the registered logger for the requested channel. Overrides LoggerChannelFactoryInterface::get |
© 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!LoggerChannelFactory.php/class/LoggerChannelFactory/8.1.x