def __del__(self): self.close() closeLog(self._logger)
def __del__(self): """ Close logger before object closing """ closeLog(self._logger)