Documentation ¶
Index ¶
- 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 ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logger ¶
type Logger struct{}
Logger is the sdk's default logr.LogSink implementation. Logs using this logger logs only 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.