Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewLogger

func NewLogger(level LogLevel) logr.Logger

func NewLoggerTo

func NewLoggerTo(destWriter io.Writer, level LogLevel) logr.Logger

Types

type LogLevel

type LogLevel int
const (
	OffLevel LogLevel = iota
	InfoLevel
	DebugLevel
)

func ParseLogLevel

func ParseLogLevel(text string) (LogLevel, error)

func (LogLevel) String

func (l LogLevel) String() string

Source Files