Documentation
¶
Index ¶
- type FakeLogger
- func (f *FakeLogger) Clear()
- func (f *FakeLogger) Enabled() bool
- func (f *FakeLogger) Error(err error, msg string, _ ...interface{})
- func (f *FakeLogger) Info(msg string, _ ...interface{})
- func (f *FakeLogger) V(_ int) logr.Logger
- func (f *FakeLogger) WithName(_ string) logr.Logger
- func (f *FakeLogger) WithValues(_ ...interface{}) logr.Logger
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeLogger ¶
FakeLogger is a logger for testing
func (*FakeLogger) Error ¶
func (f *FakeLogger) Error(err error, msg string, _ ...interface{})
Error logs error level
func (*FakeLogger) Info ¶
func (f *FakeLogger) Info(msg string, _ ...interface{})
Info logs info level
func (*FakeLogger) WithName ¶
func (f *FakeLogger) WithName(_ string) logr.Logger
WithName returns the logger
func (*FakeLogger) WithValues ¶
func (f *FakeLogger) WithValues(_ ...interface{}) logr.Logger
WithValues returns the logger
Click to show internal directories.
Click to hide internal directories.