public function InMemoryLogger::getLastMessage in Search API Solr 8.3
Same name and namespace in other branches
- 8 tests/modules/search_api_solr_test/src/Logger/InMemoryLogger.php \Drupal\search_api_solr_test\Logger\InMemoryLogger::getLastMessage()
- 8.2 tests/modules/search_api_solr_test/src/Logger/InMemoryLogger.php \Drupal\search_api_solr_test\Logger\InMemoryLogger::getLastMessage()
- 4.x tests/modules/search_api_solr_test/src/Logger/InMemoryLogger.php \Drupal\search_api_solr_test\Logger\InMemoryLogger::getLastMessage()
Gets the last log message.
File
- tests/
modules/ search_api_solr_test/ src/ Logger/ InMemoryLogger.php, line 28
Class
- InMemoryLogger
- A simple in memory logger.
Namespace
Drupal\search_api_solr_test\LoggerCode
public function getLastMessage() {
return end($this->messages);
}