public function LoggerInterfaceTest::testThrowsOnInvalidLevel in Lockr 7.3
@expectedException \Psr\Log\InvalidArgumentException
File
- vendor/
psr/ log/ Psr/ Log/ Test/ LoggerInterfaceTest.php, line 70
Class
- LoggerInterfaceTest
- Provides a base test class for ensuring compliance with the LoggerInterface.
Namespace
Psr\Log\TestCode
public function testThrowsOnInvalidLevel() {
$logger = $this
->getLogger();
$logger
->log('invalid level', 'Foo');
}