code: func newNATSTransportWithLogger(id string, conn *nats.Conn, timeout time.Duration, logger *log.Logger) (*raft.NetworkTransport, error) {
  	return createNATSTransport(id, conn, logger, timeout, func(stream raft.StreamLayer) *raft.NetworkTransport {
  		return raft.NewNetworkTransportWithLogger(stream, 3, timeout, logger)
  	})
  }
docs: // newNATSTransportWithLogger creates a new raft.NetworkTransport implemented
  // with NATS as the transport layer using the provided Logger.