logger

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: May 9, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ProviderSet = wire.NewSet(GlobalLogger)

Functions

func Debug

func Debug(msg interface{})

func DebugWithContext added in v0.0.3

func DebugWithContext(ctx context.Context, msg interface{})

func Debugf

func Debugf(format string, msg ...interface{})

func DebugfWithContext added in v0.0.3

func DebugfWithContext(ctx context.Context, format string, msg ...interface{})

func Error

func Error(msg interface{})

func ErrorWithContext added in v0.0.3

func ErrorWithContext(ctx context.Context, msg interface{})

func Errorf

func Errorf(format string, msg ...interface{})

func ErrorfWithContext added in v0.0.3

func ErrorfWithContext(ctx context.Context, format string, msg ...interface{})

func Fatal

func Fatal(msg interface{})

func FatalWithContext added in v0.0.3

func FatalWithContext(ctx context.Context, msg interface{})

func Fatalf

func Fatalf(format string, msg ...interface{})

func FatalfWithContext added in v0.0.3

func FatalfWithContext(ctx context.Context, format string, msg ...interface{})

func GlobalLoad

func GlobalLoad(level, serviceID, serviceName, serviceVersion string) error

func GlobalLogger

func GlobalLogger() log.Logger

func Info

func Info(msg interface{})

func InfoWithContext added in v0.0.3

func InfoWithContext(ctx context.Context, msg interface{})

func Infof

func Infof(format string, msg ...interface{})

func InfofWithContext added in v0.0.3

func InfofWithContext(ctx context.Context, format string, msg ...interface{})

func Warn

func Warn(msg interface{})

func WarnWithContext added in v0.0.3

func WarnWithContext(ctx context.Context, msg interface{})

func Warnf

func Warnf(format string, msg ...interface{})

func WarnfWithContext added in v0.0.3

func WarnfWithContext(ctx context.Context, format string, msg ...interface{})

func With

func With(kv ...interface{})

Types

This section is empty.

Jump to

Keyboard shortcuts

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