Ejemplo n.º 1
0
 /**
  * @group ZF-9870
  */
 public function testSetAndGetTimestampFormat()
 {
     $logger = new Logger($this->writer);
     $this->assertEquals('c', $logger->getTimestampFormat());
     $this->assertSame($logger, $logger->setTimestampFormat('Y-m-d H:i:s'));
     $this->assertEquals('Y-m-d H:i:s', $logger->getTimestampFormat());
 }