Documentation ¶
Index ¶
- func SetRunTimeLogLevel(level int)
- type RelayLog
- func (l *RelayLog) Critical(msg string, kvs ...interface{})
- func (l *RelayLog) Debug(msg string, kvs ...interface{})
- func (_ *RelayLog) Enabled() bool
- func (l *RelayLog) Error(err error, msg string, kvs ...interface{})
- func (l *RelayLog) Info(msg string, kvs ...interface{})
- func (l *RelayLog) V(_ int) *RelayLog
- func (l *RelayLog) Warn(msg string, kvs ...interface{})
- func (l *RelayLog) WithName(name string) *RelayLog
- func (l *RelayLog) WithValues(kvs ...interface{}) *RelayLog
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetRunTimeLogLevel ¶
func SetRunTimeLogLevel(level int)
SetRunTimeLogLevel set a run time log level
Types ¶
type RelayLog ¶
type RelayLog struct {
// contains filtered or unexported fields
}
RelayLog is a sample logr.Logger that logs to stderr. It's terribly inefficient, and is *only* a basic example.
func (*RelayLog) WithValues ¶
WithValues log key values
Click to show internal directories.
Click to hide internal directories.