logger

package
v2.0.0-...-c900150 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	InfoLevel  = 1
	DebugLevel = 5
	TraceLevel = 10
)

Variables

This section is empty.

Functions

func SetLoggerToDevelopmentZap

func SetLoggerToDevelopmentZap()

Types

type Logger

type Logger struct {
	logr.Logger
}

func NewLogger

func NewLogger(name string) *Logger

func (*Logger) Debug

func (l *Logger) Debug(msg string, keysAndValues ...interface{})

func (*Logger) Info

func (l *Logger) Info(msg string, keysAndValues ...interface{})

func (*Logger) NewRequestLogger

func (l *Logger) NewRequestLogger(request reconcile.Request) *Logger

func (*Logger) Trace

func (l *Logger) Trace(msg string, keysAndValues ...interface{})

Jump to

Keyboard shortcuts

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