loghelper

package
v0.5.3 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2022 License: Apache-2.0 Imports: 3 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Errorf

func Errorf(format string, a ...interface{})

func Infof

func Infof(format string, a ...interface{})

Types

type Logger

type Logger interface {
	WithName(name string) Logger
	Base() logr.Logger
	Infof(format string, a ...interface{})
	Debugf(format string, a ...interface{})
	Errorf(format string, a ...interface{})
}

func New

func New(name string) Logger

func NewFromExisting added in v0.4.4

func NewFromExisting(log logr.Logger, name string) Logger

func NewWithoutName added in v0.4.4

func NewWithoutName(log logr.Logger) Logger

Jump to

Keyboard shortcuts

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