/** * Closes the logger output, performing any cleanup. * All nested loggers are closed automatically. */ public function close() { $this->_close(); if (isset($this->logger)) { $this->logger->close(); } }