docs: def _close(self):
          """ Close file stream.  Unlike close(), we don't tear anything down, we
          expect the log to be re-opened after rotation."""
  
          if self.stream:
              try:
                  if not self.stream.closed:
                      # Flushing probably isn't technically necessary, but it feels right
                      self.stream.flush()
                      self.stream.close()
              finally:
                  self.stream = None