logs

package
v0.0.30 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2022 License: UPL-1.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	FieldResourceNamespace = "resource_namespace"
	FieldResourceName      = "resource_name"
	FieldController        = "controller"
	FieldWebhook           = "webhook"
	FieldAgent             = "agent"
)

Variables

This section is empty.

Functions

func BuildZapLogger added in v0.0.29

func BuildZapLogger(callerSkip int) (*zap.SugaredLogger, error)

BuildZapLogger initializes zap logger

func InitLogs

func InitLogs(opts kzap.Options)

InitLogs initializes logs with Time and Global Level of Logs set at Info

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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