Documentation ¶
Index ¶
- func NewLogr() logr.Logger
- type Logger
- func (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) InfoMessages() map[string][]interface{}
- func (l *Logger) Init(logr.RuntimeInfo)
- func (l Logger) LastError() error
- func (l *Logger) WithName(_ string) logr.LogSink
- func (l *Logger) WithValues(_ ...interface{}) logr.LogSink
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Logger ¶
type Logger struct {
// contains filtered or unexported fields
}
func (*Logger) InfoMessages ¶
func (*Logger) WithValues ¶
WithValues implements logr.Logger.
Click to show internal directories.
Click to hide internal directories.