logger

package
v1.4.6 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DefaultLogger added in v1.1.0

func DefaultLogger(ctx context.Context) *zap.Logger

func SetConfig added in v1.4.6

func SetConfig(name, version string) error

Types

type Logger

type Logger struct {
	*zap.Logger
	// contains filtered or unexported fields
}

func NewNop added in v1.0.14

func NewNop() *Logger

func (*Logger) WithTraceFromContext

func (l *Logger) WithTraceFromContext(ctx context.Context) *zap.Logger

Jump to

Keyboard shortcuts

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