internal

package
v1.11.0 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Logger

type Logger struct{}

Logger is the sdk's default logr.LogSink implementation. Logs using this logger logs only on error, all other logs are no-ops

func (Logger) Enabled

func (l Logger) Enabled(level int) bool

func (Logger) Error

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

func (Logger) Info

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

func (Logger) Init

func (l Logger) Init(info logr.RuntimeInfo)

func (Logger) WithName

func (l Logger) WithName(name string) logr.LogSink

func (Logger) WithValues

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

Jump to

Keyboard shortcuts

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