Documentation ¶
Index ¶
- func Debug(msg string, keysAndValues ...interface{})
- func Error(err error, msg string, keysAndValues ...interface{})
- func Info(msg string, keysAndValues ...interface{})
- func LoggerProvider() logs.LoggerProvider
- func SetLogger(l logr.Logger)
- func SetLoggerProvider(lp logs.LoggerProvider)
- func Warn(msg string, keysAndValues ...interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Debug ¶
func Debug(msg string, keysAndValues ...interface{})
Debug prints messages about all internal changes in the API or SDK.
func Info ¶
func Info(msg string, keysAndValues ...interface{})
Info prints messages about the general state of the API or SDK. This should usually be less than 5 messages a minute.
func LoggerProvider ¶
func LoggerProvider() logs.LoggerProvider
LoggerProvider is the internal implementation for global.LoggerProvider.
func SetLogger ¶
SetLogger overrides the globalLogger with l.
To see Warn messages use a logger with `l.V(1).Enabled() == true` To see Info messages use a logger with `l.V(4).Enabled() == true` To see Debug messages use a logger with `l.V(8).Enabled() == true`.
func SetLoggerProvider ¶
func SetLoggerProvider(lp logs.LoggerProvider)
SetLoggerProvider is the internal implementation for global.SetLoggerProvider.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.