Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DebugTrue = corev1.EnvVar{
Name: "DEBUG",
Value: "true",
}
DebugTrue - used to enable debug logs in objects
Functions ¶
func GetBoolEnv ¶
func GetLogger ¶
func GetLogger(name string) *zap.SugaredLogger
func IsDebugLevel ¶ added in v1.4.11
func IsDebugLevel() bool
IsDebugLevel returns whether the current log level is Debug
Types ¶
Click to show internal directories.
Click to hide internal directories.