/** * 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'); }