function RfcLoggerTrait::log

Same name and namespace in other branches
  1. 11.x core/lib/Drupal/Core/Logger/RfcLoggerTrait.php \Drupal\Core\Logger\RfcLoggerTrait::log()
  2. 10 core/lib/Drupal/Core/Logger/RfcLoggerTrait.php \Drupal\Core\Logger\RfcLoggerTrait::log()
  3. 8.9.x core/lib/Drupal/Core/Logger/RfcLoggerTrait.php \Drupal\Core\Logger\RfcLoggerTrait::log()
1 method overrides RfcLoggerTrait::log()
DbLog::log in core/modules/dblog/src/Logger/DbLog.php

File

core/lib/Drupal/Core/Logger/RfcLoggerTrait.php, line 76

Class

RfcLoggerTrait
A copy of \Psr\Log\LoggerTrait that uses RFC 5424 compliant log levels.

Namespace

Drupal\Core\Logger

Code

abstract public function log($level, $message, array $context = []);

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