log

package
v0.0.0-...-3b51f2e Latest Latest
Warning

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

Go to latest
Published: May 20, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Named func(name string) *zap.SugaredLogger
	With  func(args ...any) *zap.SugaredLogger

	Debug  func(args ...any)
	Info   func(args ...any)
	Warn   func(args ...any)
	Error  func(args ...any)
	DPanic func(args ...any)
	Panic  func(args ...any)
	Fatal  func(args ...any)

	Debugf  func(template string, args ...any)
	Infof   func(template string, args ...any)
	Warnf   func(template string, args ...any)
	Errorf  func(template string, args ...any)
	DPanicf func(template string, args ...any)
	Panicf  func(template string, args ...any)
	Fatalf  func(template string, args ...any)

	Debugw  func(msg string, keysAndValues ...any)
	Infow   func(msg string, keysAndValues ...any)
	Warnw   func(msg string, keysAndValues ...any)
	Errorw  func(msg string, keysAndValues ...any)
	DPanicw func(msg string, keysAndValues ...any)
	Panicw  func(msg string, keysAndValues ...any)
	Fatalw  func(msg string, keysAndValues ...any)

	Debugln  func(args ...any)
	Infoln   func(args ...any)
	Warnln   func(args ...any)
	Errorln  func(args ...any)
	DPanicln func(args ...any)
	Panicln  func(args ...any)
	Fatalln  func(args ...any)

	Sync func() error
)

Functions

func UpdateLogger

func UpdateLogger(logger *zap.SugaredLogger)

UpdateLogger helpful for late binding

Types

This section is empty.

Jump to

Keyboard shortcuts

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