Documentation ¶ Index ¶ func NewLogger(opts ...Option) (logr.Logger, error) type Option func WithDevelopment(dev bool) Option func WithLogLevel(level string) Option func WithTimeEncoder(encoder string) Option Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func NewLogger ¶ func NewLogger(opts ...Option) (logr.Logger, error) Types ¶ type Option ¶ type Option func(*zap.Options) error func WithDevelopment ¶ func WithDevelopment(dev bool) Option func WithLogLevel ¶ func WithLogLevel(level string) Option func WithTimeEncoder ¶ func WithTimeEncoder(encoder string) Option Source Files ¶ View all Source files logger.go Click to show internal directories. Click to hide internal directories.