Search for all

  1. Search 7.x for all
  2. Search 9.5.x for all
  3. Search 8.9.x for all
  4. Search 10.3.x for all
  5. Search 11.x for all
  6. Other projects
Title Object type File name Summary
LoggerChannel::MAX_CALL_DEPTH constant core/lib/Drupal/Core/Logger/LoggerChannel.php Maximum call depth to self::log() for a single log message.
LoggerChannel::setCurrentUser function core/lib/Drupal/Core/Logger/LoggerChannel.php Sets the current user.
LoggerChannel::setLoggers function core/lib/Drupal/Core/Logger/LoggerChannel.php Sets the loggers for this channel.
LoggerChannel::setRequestStack function core/lib/Drupal/Core/Logger/LoggerChannel.php Sets the request stack.
LoggerChannel::sortLoggers function core/lib/Drupal/Core/Logger/LoggerChannel.php Sorts loggers according to priority.
LoggerChannel::__construct function core/lib/Drupal/Core/Logger/LoggerChannel.php Constructs a LoggerChannel object.
LoggerChannelFactory class core/lib/Drupal/Core/Logger/LoggerChannelFactory.php Defines a factory for logging channels.
LoggerChannelFactory.php file core/lib/Drupal/Core/Logger/LoggerChannelFactory.php
LoggerChannelFactory::$channels property core/lib/Drupal/Core/Logger/LoggerChannelFactory.php Array of all instantiated logger channels keyed by channel name.
LoggerChannelFactory::$loggers property core/lib/Drupal/Core/Logger/LoggerChannelFactory.php An array of arrays of \Psr\Log\LoggerInterface keyed by priority.
LoggerChannelFactory::addLogger function core/lib/Drupal/Core/Logger/LoggerChannelFactory.php Adds a logger to all the channels.
LoggerChannelFactory::get function core/lib/Drupal/Core/Logger/LoggerChannelFactory.php Retrieves the registered logger for the requested channel.
LoggerChannelFactory::__construct function core/lib/Drupal/Core/Logger/LoggerChannelFactory.php Constructs a LoggerChannelFactory.
LoggerChannelFactoryInterface interface core/lib/Drupal/Core/Logger/LoggerChannelFactoryInterface.php Logger channel factory interface.
LoggerChannelFactoryInterface.php file core/lib/Drupal/Core/Logger/LoggerChannelFactoryInterface.php
LoggerChannelFactoryInterface::addLogger function core/lib/Drupal/Core/Logger/LoggerChannelFactoryInterface.php Adds a logger to all the channels.
LoggerChannelFactoryInterface::get function core/lib/Drupal/Core/Logger/LoggerChannelFactoryInterface.php Retrieves the registered logger for the requested channel.
LoggerChannelFactoryTest class core/tests/Drupal/Tests/Core/Logger/LoggerChannelFactoryTest.php Tests Drupal\Core\Logger\LoggerChannelFactory.
LoggerChannelFactoryTest.php file core/tests/Drupal/Tests/Core/Logger/LoggerChannelFactoryTest.php
LoggerChannelFactoryTest::testGet function core/tests/Drupal/Tests/Core/Logger/LoggerChannelFactoryTest.php Tests LoggerChannelFactory::get().
LoggerChannelInterface interface core/lib/Drupal/Core/Logger/LoggerChannelInterface.php Logger channel interface.
LoggerChannelInterface.php file core/lib/Drupal/Core/Logger/LoggerChannelInterface.php
LoggerChannelInterface::addLogger function core/lib/Drupal/Core/Logger/LoggerChannelInterface.php Adds a logger.
LoggerChannelInterface::setCurrentUser function core/lib/Drupal/Core/Logger/LoggerChannelInterface.php Sets the current user.
LoggerChannelInterface::setLoggers function core/lib/Drupal/Core/Logger/LoggerChannelInterface.php Sets the loggers for this channel.
LoggerChannelInterface::setRequestStack function core/lib/Drupal/Core/Logger/LoggerChannelInterface.php Sets the request stack.
LoggerChannelTest class core/tests/Drupal/Tests/Core/Logger/LoggerChannelTest.php Tests Drupal\Core\Logger\LoggerChannel.
LoggerChannelTest.php file core/tests/Drupal/Tests/Core/Logger/LoggerChannelTest.php
LoggerChannelTest::providerTestLog function core/tests/Drupal/Tests/Core/Logger/LoggerChannelTest.php Data provider for self::testLog().
LoggerChannelTest::testLog function core/tests/Drupal/Tests/Core/Logger/LoggerChannelTest.php Tests LoggerChannel::log().
LoggerChannelTest::testLogRecursionProtection function core/tests/Drupal/Tests/Core/Logger/LoggerChannelTest.php Tests LoggerChannel::log() recursion protection.
LoggerChannelTest::testNullIp function core/tests/Drupal/Tests/Core/Logger/LoggerChannelTest.php Tests that $context['ip'] is a string even when the request's IP is NULL.
LoggerChannelTest::testSortLoggers function core/tests/Drupal/Tests/Core/Logger/LoggerChannelTest.php Tests LoggerChannel::addLoggers().
LoggerChannelTrait trait core/lib/Drupal/Core/Logger/LoggerChannelTrait.php Wrapper methods for the logger factory service.
LoggerChannelTrait.php file core/lib/Drupal/Core/Logger/LoggerChannelTrait.php
LoggerChannelTrait::$loggerFactory property core/lib/Drupal/Core/Logger/LoggerChannelTrait.php The logger channel factory service.
LoggerChannelTrait::getLogger function core/lib/Drupal/Core/Logger/LoggerChannelTrait.php Gets the logger for a specific channel.
LoggerChannelTrait::setLoggerFactory function core/lib/Drupal/Core/Logger/LoggerChannelTrait.php Injects the logger channel factory.
LoggerChannelWithoutConstructor class core/tests/Drupal/Tests/Core/Logger/LoggerChannelFactoryTest.php Call to test a logger channel class with no constructor.
LoggerChannelWithoutConstructor::__construct function core/tests/Drupal/Tests/Core/Logger/LoggerChannelFactoryTest.php Constructs a LoggerChannelFactory.
LoggerStub class core/modules/system/tests/modules/logger_aware_test/src/LoggerStub.php A logger stub.
LoggerStub.php file core/modules/system/tests/modules/logger_aware_test/src/LoggerStub.php
LoggerStub::log function core/modules/system/tests/modules/logger_aware_test/src/LoggerStub.php
logger_aware_test.info.yml file core/modules/system/tests/modules/logger_aware_test/logger_aware_test.info.yml core/modules/system/tests/modules/logger_aware_test/logger_aware_test.info.yml
logger_aware_test.logger_aware_existing service core/modules/system/tests/modules/logger_aware_test/logger_aware_test.services.yml Drupal\logger_aware_test\LoggerAwareStub
logger_aware_test.logger_aware_stub service core/modules/system/tests/modules/logger_aware_test/logger_aware_test.services.yml Drupal\logger_aware_test\LoggerAwareStub
logger_aware_test.services.yml file core/modules/system/tests/modules/logger_aware_test/logger_aware_test.services.yml core/modules/system/tests/modules/logger_aware_test/logger_aware_test.services.yml
Logging severity levels group core/lib/Drupal/Core/Logger/RfcLogLevel.php Logging severity levels as defined in RFC 5424.
LoggingBeginner class core/modules/package_manager/tests/modules/package_manager_bypass/src/LoggingBeginner.php A composer-stager Beginner decorator that adds logging.
LoggingBeginner class core/modules/package_manager/src/LoggingBeginner.php Logs Composer Stager's Beginner process output to a file.

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