logger

package
v0.9.11 Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2021 License: MIT Imports: 1 Imported by: 114

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Debugw added in v0.8.6

func Debugw(msg string, keysAndValues ...interface{})

func Errorw added in v0.8.6

func Errorw(msg string, err error, keysAndValues ...interface{})

func GetLogger

func GetLogger() logr.Logger

Note: SetLogger already adds extra depth 1

func Infow added in v0.8.6

func Infow(msg string, keysAndValues ...interface{})

func SetLogger

func SetLogger(l logr.Logger, name string)

Note: only pass in logr.Logger with default depth

func Warnw added in v0.8.6

func Warnw(msg string, err error, keysAndValues ...interface{})

Types

This section is empty.

Jump to

Keyboard shortcuts

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