Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Fatal ¶
Fatal emit a log message on error level and quit. Defered functions will not be called, so Fatal() should be avoided if possible.
func NewContext ¶
NewContext returns a context with a logr.Logger based on the passed zap.Logger. If the passed context already contains a logr.Logger it is returned without modifications.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.