logger

package
v0.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 10, 2023 License: MIT Imports: 4 Imported by: 1

Documentation

Index

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL