Documentation ¶
Index ¶
- type TestLogger
- func (_ TestLogger) Enabled() bool
- func (log TestLogger) Error(err error, msg string, args ...interface{})
- func (log TestLogger) Info(msg string, keysAndValues ...interface{})
- func (log TestLogger) V(v int) logr.Logger
- func (log TestLogger) WithName(name string) logr.Logger
- func (log TestLogger) WithValues(keysAndValues ...interface{}) logr.Logger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TestLogger ¶
TestLogger is a logr.Logger that prints everything to t.Log.
func (TestLogger) Enabled ¶
func (_ TestLogger) Enabled() bool
func (TestLogger) Error ¶
func (log TestLogger) Error(err error, msg string, args ...interface{})
func (TestLogger) Info ¶
func (log TestLogger) Info(msg string, keysAndValues ...interface{})
func (TestLogger) WithValues ¶
func (log TestLogger) WithValues(keysAndValues ...interface{}) logr.Logger
Click to show internal directories.
Click to hide internal directories.