protected function tearDown() { if (is_file($this->logFile)) { unlink($this->logFile); } parent::tearDown(); }
protected function setUp() { parent::setUp(); $this->start = (double) (string) microtime(1); $this->end = $this->start + 10; $this->time = $this->end - $this->start; $this->root = new Logger('root'); $this->logger = new Logger('logger', $this->root); $this->timer = new LoggerTimer($this->logger, $this->start); }
public function setUp() { LoggerNDC::clear(); LoggerMDC::clear(); parent::setUp(); }