예제 #1
0
 public function testLogBadLevel()
 {
     $logger = new TestLogger();
     $logger->log('BAD_LEVEL', 'testMessage');
     $this->assertEquals(1, count($logger->get(LogLevel::ERROR)));
 }