public function RfcLoggerTrait::info in Drupal 9
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Logger/RfcLoggerTrait.php \Drupal\Core\Logger\RfcLoggerTrait::info()
File
- core/
lib/ Drupal/ Core/ Logger/ RfcLoggerTrait.php, line 62
Class
- RfcLoggerTrait
- A copy of \Psr\Log\LoggerTrait that uses RFC 5424 compliant log levels.
Namespace
Drupal\Core\LoggerCode
public function info($message, array $context = []) {
$this
->log(RfcLogLevel::INFO, $message, $context);
}