logger

package
v1.26.0 Latest Latest
Warning

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

Go to latest
Published: May 26, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Environment variable used by Knative to pass Zap logging config.
	EnvLoggingConfigJson = "K_LOGGING_CONFIG"
	// JSON's key that stores Zap configuration.
	ZapLoggerConfigKey = "zap-logger-config"
)

Variables

This section is empty.

Functions

func New

func New() *zap.SugaredLogger

New returns sugared Zap logger.

Types

This section is empty.

Jump to

Keyboard shortcuts

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