示例#1
0
 public function testSetLevel()
 {
     $log = new Slim_Log(new MyWriter());
     $log->setLevel(2);
     $this->assertEquals(2, $log->getLevel());
 }