Documentation ¶ Index ¶ func NewLogger(logFile string, disableStacktrace bool) (logr.Logger, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func NewLogger ¶ func NewLogger(logFile string, disableStacktrace bool) (logr.Logger, error) NewLogger creates a new logr.Logger based on the zap.Logger. If the 'logFile' is not empty, log to stderr and the 'logFile', otherwise, log to the stderr only. stacktrace indicates whether manager will disable the stacktrace Types ¶ This section is empty. Source Files ¶ View all Source files util.go Click to show internal directories. Click to hide internal directories.