function MigrateMessage::display

Same name in other branches
  1. 9 core/modules/migrate/src/MigrateMessage.php \Drupal\migrate\MigrateMessage::display()
  2. 10 core/modules/migrate/src/MigrateMessage.php \Drupal\migrate\MigrateMessage::display()
  3. 11.x core/modules/migrate/src/MigrateMessage.php \Drupal\migrate\MigrateMessage::display()

Overrides MigrateMessageInterface::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 = isset($this->map[$type]) ? $this->map[$type] : RfcLogLevel::NOTICE;
    \Drupal::logger('migrate')->log($type, $message);
}

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