log

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Error

func Error(msg any)

Error outputs a message at error level.

func Errorf

func Errorf(format string, args ...any)

Errorf uses fmt.Sprintf to construct and log a message at error level.

func Info

func Info(msg any)

Info outputs a message at info level.

func Infof

func Infof(format string, args ...any)

Infof uses fmt.Sprintf to construct and log a message at info level.

func InitLogger

func InitLogger(enc string)

func Logger

func Logger() logr.Logger

func SetLogger

func SetLogger(l component.CtrlLogger)

func WrapLogr added in v0.3.0

func WrapLogr(l logr.Logger) component.CtrlLogger

Types

This section is empty.

Jump to

Keyboard shortcuts

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