logging

package
v0.42.1 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ErrInvalidLogLevel = "logging.invalid_log_level"
)

Variables

This section is empty.

Functions

func DefaultZapConfig

func DefaultZapConfig(level userconfig.LogLevel, fields ...map[string]interface{}) zap.Config

func ErrorInvalidLogLevel

func ErrorInvalidLogLevel(provided string, loglevels []string) error

func GetLogger

func GetLogger() *zap.SugaredLogger

Types

This section is empty.

Jump to

Keyboard shortcuts

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