public function Logger::addRecord in Monolog 8
Same name and namespace in other branches
- 2.x src/Logger/Logger.php \Drupal\monolog\Logger\Logger::addRecord()
File
- src/
Logger/ Logger.php, line 41
Class
- Logger
- Logger class for the Drupal Monolog module.
Namespace
Drupal\monolog\LoggerCode
public function addRecord($level, $message, array $context = array()) {
if (array_key_exists($level, $this->levelTranslation)) {
$level = $this->levelTranslation[$level];
}
parent::addRecord($level, $message, $context);
}