Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KafkaBatch ¶
func NewKafkaBatch ¶
func (*KafkaBatch) RunBatch ¶
func (b *KafkaBatch) RunBatch(ctx context.Context)
func (*KafkaBatch) RunQueueReader ¶
func (b *KafkaBatch) RunQueueReader(ctx context.Context)
func (*KafkaBatch) Send ¶
func (b *KafkaBatch) Send(event any) error
Send is a wrapper around kafka producer to send logs
func (*KafkaBatch) SetLogger ¶
func (b *KafkaBatch) SetLogger(logger Logger)
type ZeroLogger ¶
type ZeroLogger struct{}
func (ZeroLogger) Info ¶
func (ZeroLogger) Info(args ...interface{})
func (ZeroLogger) Warn ¶
func (ZeroLogger) Warn(args ...interface{})
Click to show internal directories.
Click to hide internal directories.