code: func (es *EventSystem) subscribeMinedPendingLogs(crit ethereum.FilterQuery, logs chan []*types.Log) *Subscription {
  	sub := &subscription{
  		id:        rpc.NewID(),
  		typ:       MinedAndPendingLogsSubscription,
  		logsCrit:  crit,
  		created:   time.Now(),
  		logs:      logs,
  		hashes:    make(chan []common.Hash),
  		headers:   make(chan *types.Header),
  		installed: make(chan struct{}),
  		err:       make(chan error),
  	}
  	return es.subscribe(sub)
  }
docs: // subscribeMinedPendingLogs creates a subscription that returned mined and
  // pending logs that match the given criteria.