Documentation ¶ Index ¶ func NewLogger(level string, production bool) logr.Logger Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func NewLogger ¶ func NewLogger(level string, production bool) logr.Logger NewLogger returns a logger configured for dev or production use. For production the log format is JSON, the timestamps format is ISO8601 and stack traces are logged when the level is set to debug. Types ¶ This section is empty. Source Files ¶ View all Source files logger.go Click to show internal directories. Click to hide internal directories.