You are here

public function MigrateMessage::display in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/migrate/src/MigrateMessage.php \Drupal\migrate\MigrateMessage::display()
  2. 9 core/modules/migrate/src/MigrateMessage.php \Drupal\migrate\MigrateMessage::display()

File

core/modules/migrate/src/MigrateMessage.php, line 25

Class

MigrateMessage
Defines a migrate message class.

Namespace

Drupal\migrate

Code

public function display($message, $type = 'status') {
  $type = $this->map[$type] ?? RfcLogLevel::NOTICE;
  \Drupal::logger('migrate')
    ->log($type, $message);
}