public function LoggerChannelPartTest::providerTestLog in Purge 8.3
Provides test data for testLog().
File
- tests/
src/ Unit/ Logger/ LoggerChannelPartTest.php, line 265
Class
- LoggerChannelPartTest
- @coversDefaultClass \Drupal\purge\Logger\LoggerChannelPart
Namespace
Drupal\Tests\purge\Unit\LoggerCode
public function providerTestLog() : array {
return [
[
'id1',
'level1',
'message @placeholder',
[
'@placeholder' => 'foo',
],
],
[
'id2',
'level2',
'message @placeholder',
[
'@placeholder' => 'bar',
],
],
[
'id3',
'level3',
'message @placeholder',
[
'@placeholder' => 'baz',
],
],
];
}