logger_aware_test.logger_aware_existing

Same name in other branches
  1. 11.x core/modules/system/tests/modules/logger_aware_test/logger_aware_test.services.yml \logger_aware_test.logger_aware_existing

Class

Drupal\logger_aware_test\LoggerAwareStub
1 string reference to logger_aware_test.logger_aware_existing
LoggerAwarePassTest::testExistingLogger in core/modules/system/tests/src/Kernel/DependencyInjection/CompilerPass/LoggerAwarePassTest.php
Tests that existing loggers are not overwritten.

File

core/modules/system/tests/modules/logger_aware_test/logger_aware_test.services.yml

View source
  1. class: Drupal\logger_aware_test\LoggerAwareStub
  2. calls:
  3. - [setLogger, ['@logger.channel.logger_stub']]

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