zap

package
v0.0.0-...-344c929 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

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.

Jump to

Keyboard shortcuts

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