logger

package
v0.0.0-...-30b40a1 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2024 License: AGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ContextWith

func ContextWith(ctx context.Context, keysAndValues ...any) context.Context

Types

type Logger

type Logger struct {
	// contains filtered or unexported fields
}

func New

func New() Logger

func (Logger) ErrMessage

func (l Logger) ErrMessage(err error, msg string, args ...any)

func (Logger) Message

func (l Logger) Message(msg string, args ...any)

func (Logger) With

func (l Logger) With(keysAndValues ...any) Logger

func (Logger) WithContext

func (l Logger) WithContext(ctx context.Context) Logger

func (Logger) WithName

func (l Logger) WithName(name string) Logger

Jump to

Keyboard shortcuts

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