logger

package
v0.30.0 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(origin logr.LogSink) logr.Logger

Types

type Logger

type Logger struct {
	// contains filtered or unexported fields
}

func (*Logger) Enabled

func (lw *Logger) Enabled(level int) bool

func (*Logger) Error

func (lw *Logger) Error(err error, msg string, keysAndValues ...interface{})

func (*Logger) Info

func (lw *Logger) Info(level int, msg string, keysAndValues ...interface{})

func (*Logger) Init

func (lw *Logger) Init(info logr.RuntimeInfo)

func (*Logger) WithName

func (lw *Logger) WithName(name string) logr.LogSink

func (*Logger) WithValues

func (lw *Logger) WithValues(keysAndValues ...interface{}) logr.LogSink

Jump to

Keyboard shortcuts

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