Documentation
¶
Overview ¶
Package log provides logging capability. It exports two loggers: DefaultLogger and Logger. DefaultLogger must only be used before having initialized Logger through InitLogger.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // DefaultLogger is initialized at startup time and must only be used by any package that wants to produce log lines // before Logger is initialized through InitLogger. DefaultLogger = getProductionLogger() // Logger is the main exported logger. It must be initialized through InitLogger. Logger logr.Logger )
Functions ¶
func InitLogger ¶
InitLogger initialized the global Logger instance.
Types ¶
Click to show internal directories.
Click to hide internal directories.