log

package
v0.0.0-...-3f6faf8 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2022 License: EUPL-1.2 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ContextKey

type ContextKey string
const (
	// ContextValueRequestID defines request ID value in context
	ContextValueRequestID ContextKey = "requestID"
	// ContextValueKeyID defines key ID value in context
	ContextValueKeyID ContextKey = "keyID"
)

type Logger

type Logger interface {
	L() *zap.SugaredLogger
	LG() *zap.Logger
}

Logger implements logging functionality

func New

func New(level string) (Logger, error)

New returns new logger

Jump to

Keyboard shortcuts

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