function RfcLoggerTrait::debug
Same name in other branches
- 9 core/lib/Drupal/Core/Logger/RfcLoggerTrait.php \Drupal\Core\Logger\RfcLoggerTrait::debug()
- 8.9.x core/lib/Drupal/Core/Logger/RfcLoggerTrait.php \Drupal\Core\Logger\RfcLoggerTrait::debug()
- 11.x core/lib/Drupal/Core/Logger/RfcLoggerTrait.php \Drupal\Core\Logger\RfcLoggerTrait::debug()
File
-
core/
lib/ Drupal/ Core/ Logger/ RfcLoggerTrait.php, line 69
Class
- RfcLoggerTrait
- A copy of \Psr\Log\LoggerTrait that uses RFC 5424 compliant log levels.
Namespace
Drupal\Core\LoggerCode
public function debug(string|\Stringable $message, array $context = []) : void {
$this->log(RfcLogLevel::DEBUG, $message, $context);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.