public function LoggerChannelTest::providerLogLevels in Service Container 7
Same name and namespace in other branches
- 7.2 tests/src/Logger/LoggerChannelTest.php \Drupal\Tests\service_container\Logger\LoggerChannelTest::providerLogLevels()
File
- tests/
src/ Logger/ LoggerChannelTest.php, line 140 - Contains \Drupal\Tests\service_container\Logger\LoggerChannelTest.
Class
- LoggerChannelTest
- @coversDefaultClass \Drupal\service_container\Logger\LoggerChannel
Namespace
Drupal\Tests\service_container\LoggerCode
public function providerLogLevels() {
$data = array();
$data[] = array(
'emergency',
LogLevel::EMERGENCY,
);
$data[] = array(
'alert',
LogLevel::ALERT,
);
$data[] = array(
'critical',
LogLevel::CRITICAL,
);
$data[] = array(
'error',
LogLevel::ERROR,
);
$data[] = array(
'warning',
LogLevel::WARNING,
);
$data[] = array(
'notice',
LogLevel::NOTICE,
);
$data[] = array(
'info',
LogLevel::INFO,
);
$data[] = array(
'debug',
LogLevel::DEBUG,
);
return $data;
}