logger.factory
Same name and namespace in other branches
- 8.9.x core/core.services.yml \logger.factory
- 10 core/core.services.yml \logger.factory
- 11.x core/core.services.yml \logger.factory
Class
Drupal\Core\Logger\LoggerChannelFactoryTags
- service_collector
5 string references to logger.factory
- CronTest::setUp in core/
tests/ Drupal/ Tests/ Core/ CronTest.php - EntityReferenceEntityFormatter::create in core/
lib/ Drupal/ Core/ Field/ Plugin/ Field/ FieldFormatter/ EntityReferenceEntityFormatter.php - Creates an instance of the plugin.
- LoggerChannelTrait::getLogger in core/
lib/ Drupal/ Core/ Logger/ LoggerChannelTrait.php - Gets the logger for a specific channel.
- StorageCopyTraitTest::testWithInvalidConfiguration in core/
tests/ Drupal/ Tests/ Core/ Config/ StorageCopyTraitTest.php - Tests replaceStorageContents() with config with an invalid configuration.
- _drupal_log_error in core/
includes/ errors.inc - Logs a PHP error or exception and displays an error page in fatal cases.
File
-
core/
core.services.yml
View source
- class: Drupal\Core\Logger\LoggerChannelFactory
- parent: container.trait
- tags:
- - { name: service_collector, tag: logger, call: addLogger }
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.