Esempio n. 1
0
 /**
  * Test info log
  */
 public function testLogsFatal()
 {
     $l = new TestLogger(dirname(__FILE__) . '/logs', 0);
     $this->expectOutputString('[FATAL] ' . date('c') . ' - ' . "Test Info\r\n");
     $l->error('Test Info');
     $l->fatal('Test Info');
 }