l

package
v1.1.12 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2023 License: MIT 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 struct {
	Logger              *zap.Logger
	ZapMachine          zapcore.Field
	ZapThread           zapcore.Field
	SavedZapConfig      zap.Config
	AtomicThreadCounter *int64
	ZapFunction         zapcore.Field
	FunctionStack       []string
}

func NewLoggerFromEnvConfig

func NewLoggerFromEnvConfig(envConfig *env.EnvConfig) (*Logger, error)

func NewLoggerFromLogger

func NewLoggerFromLogger(srcLogger *Logger) (*Logger, error)

func (*Logger) Close

func (l *Logger) Close()

func (*Logger) Debug

func (l *Logger) Debug(format string, a ...interface{})

func (*Logger) DebugCtx

func (l *Logger) DebugCtx(pCtx *ctx.MessageProcessingContext, format string, a ...interface{})

func (*Logger) Error

func (l *Logger) Error(format string, a ...interface{})

func (*Logger) ErrorCtx

func (l *Logger) ErrorCtx(pCtx *ctx.MessageProcessingContext, format string, a ...interface{})

func (*Logger) Info

func (l *Logger) Info(format string, a ...interface{})

func (*Logger) InfoCtx

func (l *Logger) InfoCtx(pCtx *ctx.MessageProcessingContext, format string, a ...interface{})

func (*Logger) PopF

func (logger *Logger) PopF()

func (*Logger) PushF

func (logger *Logger) PushF(functionName string)

func (*Logger) Warn

func (l *Logger) Warn(format string, a ...interface{})

func (*Logger) WarnCtx

func (l *Logger) WarnCtx(pCtx *ctx.MessageProcessingContext, format string, a ...interface{})

Jump to

Keyboard shortcuts

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