logger

package
v1.0.15 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Logger

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

func New

func New(ctx context.Context, name, version string) (*Logger, error)

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