code: func (e *EncryptedRaftLogger) Close(ctx context.Context) {
  	e.encoderMu.Lock()
  	defer e.encoderMu.Unlock()
  
  	if e.wal != nil {
  		if err := e.wal.Close(); err != nil {
  			log.G(ctx).WithError(err).Error("error closing raft WAL")
  		}
  	}
  
  	e.wal = nil
  	e.snapshotter = nil
  }
docs: // Close closes the logger - it will have to be bootstrapped again to start writing