Your ROOT_URL in app.ini is http://git.slaventius.ru/ but you are visiting http://37.143.12.169/test3k/authPostman/src/commit/cad80c407ef0eecb375f44789fe0edacfa890fdb/vendor/github.com/segmentio/kafka-go/logger.go You should set ROOT_URL correctly, otherwise the web may not work correctly.
 
 
 
 

17 lines
504 B

package kafka
// Logger interface API for log.Logger.
type Logger interface {
Printf(string, ...interface{})
}
// LoggerFunc is a bridge between Logger and any third party logger
// Usage:
// l := NewLogger() // some logger
// r := kafka.NewReader(kafka.ReaderConfig{
// Logger: kafka.LoggerFunc(l.Infof),
// ErrorLogger: kafka.LoggerFunc(l.Errorf),
// })
type LoggerFunc func(string, ...interface{})
func (f LoggerFunc) Printf(msg string, args ...interface{}) { f(msg, args...) }