(do func(Logger))
| 1573 | } |
| 1574 | |
| 1575 | func (r *reader) withErrorLogger(do func(Logger)) { |
| 1576 | if r.errorLogger != nil { |
| 1577 | do(r.errorLogger) |
| 1578 | } else { |
| 1579 | r.withLogger(do) |
| 1580 | } |
| 1581 | } |
| 1582 | |
| 1583 | // extractTopics returns the unique list of topics represented by the set of |
| 1584 | // provided members. |