LoggerChannelFactory

Defines a factory for logging channels.

Hierarchy

File

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

Namespace

Drupal\Core\Logger

Members

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
doc_Drupal
2016-10-29 09:25:01
Comments
Leave a Comment

Please login to continue.