MCPcopy
hub / github.com/segmentio/kafka-go / withLogger

Method withLogger

reader.go:1569–1573  ·  view source on GitHub ↗
(do func(Logger))

Source from the content-addressed store, hash-verified

1567}
1568
1569func (r *reader) withLogger(do func(Logger)) {
1570 if r.logger != nil {
1571 do(r.logger)
1572 }
1573}
1574
1575func (r *reader) withErrorLogger(do func(Logger)) {
1576 if r.errorLogger != nil {

Callers 3

runMethod · 0.95
initializeMethod · 0.95
withErrorLoggerMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected