logger

package
v0.0.0-...-15b5fa4 Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Debug

func Debug(ctx context.Context, args ...interface{})

func Debugf

func Debugf(ctx context.Context, format string, args ...interface{})

nolint

func Error

func Error(ctx context.Context, args ...interface{})

func Info

func Info(ctx context.Context, args ...interface{})

func Infof

func Infof(ctx context.Context, format string, args ...interface{})

func Load

func Load(cfg config.Config) error

func Logger

func Logger(ctx context.Context) log.FieldLogger

func NewLogger

func NewLogger(cfg config.Config) *log.Logger

func Print

func Print(ctx context.Context, args ...interface{})

nolint

func Trace

func Trace(ctx context.Context, args ...interface{})

nolint

func Tracef

func Tracef(ctx context.Context, format string, args ...interface{})

func Warn

func Warn(ctx context.Context, args ...interface{})

func WithError

func WithError(ctx context.Context, err error) log.FieldLogger

func WithField

func WithField(ctx context.Context, key string, value interface{}) log.FieldLogger

func WithFields

func WithFields(ctx context.Context, fields log.Fields) log.FieldLogger

func WithLogger

func WithLogger(ctx context.Context, logger log.FieldLogger) context.Context

Types

This section is empty.

Jump to

Keyboard shortcuts

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