Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewLoggerFromTestLogger ¶
NewLoggerFromTestLogger returns a logging.Logger which wraps the test framework logger defined in this package. It is intended for tests which must provide a logging.Logger, for example when they start an agent.
Types ¶
type Logger ¶
type Logger interface { Log(message string) Logln(message string) Logf(format string, a ...interface{}) Logfln(format string, a ...interface{}) WithTimestamp() Logger }
Logger provides a simplified, plain logging interface in contrast to logr.Logger
func NewDiscardLogger ¶
func NewDiscardLogger() Logger
func NewLoggerFromWriter ¶
NewLoggerFromWriter creates a new logger that writes to the given writer
Click to show internal directories.
Click to hide internal directories.