function UpdateFetcherTest::log
Overrides RfcLoggerTrait::log
File
-
core/
modules/ update/ tests/ src/ Unit/ UpdateFetcherTest.php, line 246
Class
- UpdateFetcherTest
- Tests update functionality unrelated to the database.
Namespace
Drupal\Tests\update\UnitCode
public function log($level, $message, array $context = []) {
$this->logMessages[] = $context['@message'];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.