logger

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2020 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Log       *zap.Logger
	LogConfig *zap.Config
	Audit     *zap.Logger
)
View Source
var (
	CompatibleLogger *log.Logger
)

Functions

func Init

func Init(conf *config.Logger) error

func OverrideKlog added in v0.9.0

func OverrideKlog(conf *config.Logger) error

func WithRequestId added in v0.7.0

func WithRequestId(ctx context.Context) zap.Field

Types

This section is empty.

Jump to

Keyboard shortcuts

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