logger

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2022 License: Apache-2.0 Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSinkLogger

func NewSinkLogger(name string, level *int32, writer io.Writer) logr.Logger

func RetrieveSourceImageLogger added in v0.9.0

func RetrieveSourceImageLogger(ctx context.Context) plainimage.Logger

func StashSourceImageLogger added in v0.9.0

func StashSourceImageLogger(ctx context.Context, logger plainimage.Logger) context.Context

Types

type NoopLogger added in v0.9.0

type NoopLogger struct{}

NoopLogger this logger will not print

func NewNoopLogger added in v0.9.0

func NewNoopLogger() *NoopLogger

NewNoopLogger creates a new noop logger

func (NoopLogger) Logf added in v0.9.0

func (n NoopLogger) Logf(string, ...interface{})

Logf does nothing

Jump to

Keyboard shortcuts

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