Documentation ¶
Index ¶
- Constants
- type Logger
- func (l Logger) Enabled(level int) bool
- func (l Logger) Error(err error, msg string, keysAndValues ...interface{})
- func (l Logger) Info(level int, msg string, keysAndValues ...interface{})
- func (l Logger) Init(info logr.RuntimeInfo)
- func (l Logger) WithName(name string) logr.LogSink
- func (l Logger) WithValues(keysAndValues ...interface{}) logr.LogSink
Constants ¶
View Source
const ( Warn = 0 Info = 1 Debug = 2 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logger ¶
type Logger struct{}
Logger is the provider's default logger logs using the standard log package on error, all other logs are no-ops
func (Logger) Init ¶
func (l Logger) Init(info logr.RuntimeInfo)
func (Logger) WithValues ¶
Click to show internal directories.
Click to hide internal directories.