public function LoggerInterfaceTest::provideLevelsAndMessages in Lockr 7.3
File
- vendor/
psr/ log/ Psr/ Log/ Test/ LoggerInterfaceTest.php, line 53
Class
- LoggerInterfaceTest
- Provides a base test class for ensuring compliance with the LoggerInterface.
Namespace
Psr\Log\TestCode
public function provideLevelsAndMessages() {
return array(
LogLevel::EMERGENCY => array(
LogLevel::EMERGENCY,
'message of level emergency with context: {user}',
),
LogLevel::ALERT => array(
LogLevel::ALERT,
'message of level alert with context: {user}',
),
LogLevel::CRITICAL => array(
LogLevel::CRITICAL,
'message of level critical with context: {user}',
),
LogLevel::ERROR => array(
LogLevel::ERROR,
'message of level error with context: {user}',
),
LogLevel::WARNING => array(
LogLevel::WARNING,
'message of level warning with context: {user}',
),
LogLevel::NOTICE => array(
LogLevel::NOTICE,
'message of level notice with context: {user}',
),
LogLevel::INFO => array(
LogLevel::INFO,
'message of level info with context: {user}',
),
LogLevel::DEBUG => array(
LogLevel::DEBUG,
'message of level debug with context: {user}',
),
);
}