logger

package
v0.0.0-...-e725833 Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2025 License: Unlicense Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Logger

type Logger interface {
	Debug(fields ...interface{})
	Debugw(msg string, keysAndValues ...interface{})
	Info(fields ...interface{})
	Infow(msg string, keysAndValues ...interface{})
	Warn(fields ...interface{})
	Warnw(msg string, keysAndValues ...interface{})
	Error(fields ...interface{})
	Errorw(msg string, keysAndValues ...interface{})
	Fatal(fields ...interface{})
	Fatalw(msg string, keysAndValues ...interface{})
}

func GetLogger

func GetLogger() Logger

func SetZapLogger

func SetZapLogger(cfg config.Config) Logger

Jump to

Keyboard shortcuts

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