예제 #1
0
 /**
  * Test info log
  */
 public function testLogsWarn()
 {
     $l = new TestLogger(dirname(__FILE__) . '/logs', 2);
     $this->expectOutputString('[WARN] ' . date('c') . ' - ' . "Test Info\r\n");
     $l->info('Test Info');
     $l->warn('Test Info');
 }