Beispiel #1
0
 public function testInvalidLogLevelException()
 {
     $message = 'message';
     $logger = new Logger\Logger([['\\JoeBengalen\\Logger\\Test\\DummyHandler', 'staticEchoLevelMessage']]);
     $this->setExpectedException('\\Psr\\Log\\InvalidArgumentException');
     $logger->log('invalid', $message);
 }