loghelper

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

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

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

func NewWithoutName added in v0.2.0

func NewWithoutName(log logr.Logger) Logger

Jump to

Keyboard shortcuts

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