logging

package
v0.11.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 15, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	KafkaLoggingChannel = "stream.kafka"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type KafkaLogger

type KafkaLogger struct {
	log.Logger
}

func NewKafkaLogger

func NewKafkaLogger(logger log.Logger) *KafkaLogger

func (*KafkaLogger) DebugLogger

func (l *KafkaLogger) DebugLogger() LoggerWrapper

func (*KafkaLogger) ErrorLogger

func (l *KafkaLogger) ErrorLogger() LoggerWrapper

type LoggerWrapper

type LoggerWrapper func(template string, values ...interface{})

func (LoggerWrapper) Printf

func (log LoggerWrapper) Printf(t string, v ...interface{})

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL