public function LoggerTest::providerTestAddRecord in Monolog 8
Same name and namespace in other branches
- 2.x tests/src/Unit/Logger/LoggerTest.php \Drupal\Tests\monolog\Unit\Logger\LoggerTest::providerTestAddRecord()
Data provider for self::testAddRecord().
File
- tests/
src/ Unit/ Logger/ LoggerTest.php, line 40
Class
- LoggerTest
- @coversDefaultClass \Drupal\monolog\Logger\Logger @group monolog
Namespace
Drupal\Tests\monolog\Unit\LoggerCode
public function providerTestAddRecord() {
return [
[
RfcLogLevel::DEBUG,
MonologLogLevel::DEBUG,
'apple',
],
[
RfcLogLevel::CRITICAL,
MonologLogLevel::CRITICAL,
'banana',
],
[
RfcLogLevel::CRITICAL,
MonologLogLevel::CRITICAL,
'orange',
],
[
RfcLogLevel::INFO,
MonologLogLevel::INFO,
'cucumber',
],
];
}