contextlogger

package
v1.9.0-rc.6 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ContextLogger

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

func New

func New(ctx context.Context, logger logging.Logger) *ContextLogger

func (ContextLogger) Debug

func (c ContextLogger) Debug(args ...any)

func (ContextLogger) Debugf

func (c ContextLogger) Debugf(format string, args ...any)

func (ContextLogger) Error

func (c ContextLogger) Error(args ...any)

func (ContextLogger) Errorf

func (c ContextLogger) Errorf(format string, args ...any)

func (ContextLogger) Info

func (c ContextLogger) Info(args ...any)

func (ContextLogger) Infof

func (c ContextLogger) Infof(format string, args ...any)

func (ContextLogger) WithContext

func (c ContextLogger) WithContext(ctx context.Context) logging.Logger

func (ContextLogger) WithFields

func (c ContextLogger) WithFields(m map[string]any) logging.Logger

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳