Documentation ¶ Index ¶ func NewZapSugarLogger(logger *zap.Logger, defaultLevel zapcore.Level) log.Logger Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func NewZapSugarLogger ¶ func NewZapSugarLogger(logger *zap.Logger, defaultLevel zapcore.Level) log.Logger NewZapSugarLogger returns a Go kit log.Logger that sends log events to a zap.Logger. defaultLevel set the logs without "github.com/go-kit/log/level" keyvals to defaultLevel Types ¶ This section is empty. Source Files ¶ View all Source files zap_sugar_logger.go Click to show internal directories. Click to hide internal directories.