abstract public function RfcLoggerTrait::log in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Core/Logger/RfcLoggerTrait.php \Drupal\Core\Logger\RfcLoggerTrait::log()
8 calls to RfcLoggerTrait::log()
- RfcLoggerTrait::alert in core/
lib/ Drupal/ Core/ Logger/ RfcLoggerTrait.php - RfcLoggerTrait::critical in core/
lib/ Drupal/ Core/ Logger/ RfcLoggerTrait.php - RfcLoggerTrait::debug in core/
lib/ Drupal/ Core/ Logger/ RfcLoggerTrait.php - RfcLoggerTrait::emergency in core/
lib/ Drupal/ Core/ Logger/ RfcLoggerTrait.php - RfcLoggerTrait::error in core/
lib/ Drupal/ Core/ Logger/ RfcLoggerTrait.php
3 methods override RfcLoggerTrait::log()
- DbLog::log in core/
modules/ dblog/ src/ Logger/ DbLog.php - Logs with an arbitrary level.
- SysLog::log in core/
modules/ syslog/ src/ Logger/ SysLog.php - Logs with an arbitrary level.
- TestLog::log in core/
modules/ system/ tests/ modules/ error_service_test/ src/ Logger/ TestLog.php - Logs with an arbitrary level.
File
- core/
lib/ Drupal/ Core/ Logger/ RfcLoggerTrait.php, line 81 - Contains \Drupal\Core\Logger\RfcLoggerTrait.
Class
- RfcLoggerTrait
- A copy of \Psr\Log\LoggerTrait that uses RFC 5424 compliant log levels.
Namespace
Drupal\Core\LoggerCode
public abstract function log($level, $message, array $context = array());