logger

package
v0.0.0-...-aaea8e4 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: Apache-2.0 Imports: 12 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetUnderlyingZapLoggerOrDie

func GetUnderlyingZapLoggerOrDie(l Logger) *zap.Logger

func NewLogName

func NewLogName(tag LogTag) string

func NewLogger

func NewLogger() *loggerImpl

Types

type AppLog

type AppLog struct{}

type LogTag

type LogTag interface {
	// contains filtered or unexported methods
}

type Logger

type Logger interface {
	Info(fmtStr string, values ...interface{})
	Warn(fmtStr string, values ...interface{})
	Error(fmtStr string, values ...interface{})
	Fatal(fmtStr string, values ...interface{})

	Infox(ctx context.Context, fmtStr string, values ...interface{})
	Warnx(ctx context.Context, fmtStr string, values ...interface{})
	Errorx(ctx context.Context, fmtStr string, values ...interface{})
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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