Documentation ¶
Index ¶
- type Logger
- func (l *Logger) Enabled() bool
- func (l *Logger) Error(err error, msg string, keysAndValues ...interface{})
- func (l *Logger) Info(msg string, keysAndValues ...interface{})
- func (l *Logger) V(level int) logr.InfoLogger
- func (l *Logger) WithName(name string) logr.Logger
- func (l *Logger) WithValues(keysAndValues ...interface{}) logr.Logger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Logger ¶
type Logger struct {
// contains filtered or unexported fields
}
Logger wraps the benthos logger for use by controller-runtime
func (*Logger) V ¶ added in v0.2.0
func (l *Logger) V(level int) logr.InfoLogger
V returns a level scoped logger
func (*Logger) WithValues ¶ added in v0.2.0
WithValues returns a level scoped logger
Click to show internal directories.
Click to hide internal directories.