Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var NopLogger = zapr.NewLogger(zap.NewNop())
NopLogger is used to throw away logs when we don't actually want to log in certain portions of the code since logging would be too noisy
Functions ¶
func IgnoreDebugEvents ¶
IgnoreDebugEvents wraps the logger with one that ignores any debug logs coming from a logger named "events". This prevents every event we write from creating a debug log which spams the log file during scale-ups due to recording pod scheduling decisions as events for visibility.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.