log

package
v0.0.0-...-79e2c14 Latest Latest
Warning

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

Go to latest
Published: May 2, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BufferedLogWriter

type BufferedLogWriter struct {
	// contains filtered or unexported fields
}

BufferedLogWriter intercepts log messages to allow control of its internal buffer is flushed

func NewBufferedLogWriter

func NewBufferedLogWriter() *BufferedLogWriter

func NewLogger

func NewLogger(component string, verbosity int) (logr.Logger, *BufferedLogWriter)

func (*BufferedLogWriter) Flush

func (w *BufferedLogWriter) Flush()

Flush the contents of the sink

func (*BufferedLogWriter) Write

func (w *BufferedLogWriter) Write(p []byte) (n int, err error)

Jump to

Keyboard shortcuts

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